
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
15 questions
JAVA SWING 1

Quiz
•
University
9 questions
Java Swing Intro

Quiz
•
University
9 questions
Swing Quiz

Quiz
•
University
10 questions
Java GUI

Quiz
•
University
7 questions
Tutorium 7 - DOM + HTTP

Quiz
•
University
10 questions
BSc 2nd Sem A section

Quiz
•
University
5 questions
TRADING PLATFORM

Quiz
•
University
15 questions
Brewing JavaFX Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University