A1_ITE 186: GUI

A1_ITE 186: GUI

University

10 Qs

quiz-placeholder

Similar activities

Power Point Prezentation kviz 1

Power Point Prezentation kviz 1

7th Grade - University

10 Qs

BCSC0006 Quiz Collections

BCSC0006 Quiz Collections

University

10 Qs

practice quiz

practice quiz

12th Grade - University

12 Qs

โปรแกรมประมวลผลคำ บทที่ 1 ByKrujang

โปรแกรมประมวลผลคำ บทที่ 1 ByKrujang

University

10 Qs

Code.org Quiz2

Code.org Quiz2

7th Grade - University

15 Qs

Imaging And Design for Online Environment

Imaging And Design for Online Environment

10th Grade - University

10 Qs

TLE 222  (Quiz)

TLE 222 (Quiz)

University

15 Qs

POWER POINT

POWER POINT

11th Grade - University

10 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?