
A1_ITE 186: GUI

Quiz
•
Computers
•
University
•
Medium
Ira Pongasi
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package in Java contains the Swing components?
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);
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
PCS - Semana 14

Quiz
•
University
5 questions
GUI2

Quiz
•
University
10 questions
Android

Quiz
•
University
6 questions
Các bộ phận của máy tính

Quiz
•
1st Grade - University
15 questions
Quizz Programación 2

Quiz
•
University
10 questions
Java Programming

Quiz
•
University
14 questions
Event Driven Programming

Quiz
•
University
15 questions
Java GUI Unit 1 Review

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University