A1_ITE 186: GUI

A1_ITE 186: GUI

University

10 Qs

quiz-placeholder

Similar activities

ms powerpoint chapter 4

ms powerpoint chapter 4

University

15 Qs

UH Informatika Semester 2

UH Informatika Semester 2

University

15 Qs

Pemrograman Android KD 3.28/4.28

Pemrograman Android KD 3.28/4.28

1st Grade - Professional Development

10 Qs

UAS GIS

UAS GIS

University

15 Qs

Chapter 3: Input and Output Devices

Chapter 3: Input and Output Devices

University

10 Qs

Знаешь ли ты CSS?

Знаешь ли ты CSS?

University

10 Qs

Microsoft Word

Microsoft Word

University

10 Qs

Web Development

Web Development

12th Grade - 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?