A1_ITE 186: GUI

A1_ITE 186: GUI

University

10 Qs

quiz-placeholder

Similar activities

Review Jaringan Komputer Dasar Chapter 1-3

Review Jaringan Komputer Dasar Chapter 1-3

University

10 Qs

Java MVC Framework Quiz

Java MVC Framework Quiz

University

10 Qs

Indesign

Indesign

University

12 Qs

Lecture 09

Lecture 09

University

10 Qs

Dart

Dart

University

10 Qs

Mobile Application Development Quiz1

Mobile Application Development Quiz1

University

15 Qs

Microsoft Windows

Microsoft Windows

4th Grade - University

10 Qs

Vistacreate

Vistacreate

University

15 Qs

A1_ITE 186: GUI

A1_ITE 186: GUI

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ira Pongasi

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which package in Java contains the Swing components?

java.swing

javax.swing

java.awt.swing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Swing component is used to create a simple button?

JButton

JLabel

JTextField

JPanel

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This layout manager allows you to specify the number of rows and columns in the layout:

BorderLayout

FlowLayout

GridLayout

BoxLayout

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to set the title of a JFrame?

setTitle()

setHeader()

setFrameTitle()

setWindowTitle()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to make a JFrame visible?

setVisible(true)

show()

display()

enable()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Swing component allows users to enter a single line of text?

JLabel

JTextArea

JTextField

JPanel

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you add an event listener to a JButton?

button.addActionListener(listener);

button.addEventListener(listener);

button.addClickListener(listener);

button.addListener(listener);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers