
A1_ITE 186: GUI
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Ira Pongasi
Used 4+ times
FREE Resource
Enhance your content in a minute
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);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Latihan Soal Ms. Word
Quiz
•
University
13 questions
Java GUI Unit 3 Review
Quiz
•
University
11 questions
Database
Quiz
•
9th Grade - University
10 questions
Design Rules
Quiz
•
University
14 questions
Presentation Software
Quiz
•
10th Grade - Professi...
14 questions
CIS 1103 Week 7_8 CLO3 (Part 2)
Quiz
•
University
10 questions
JSPS Competition Hackathon - HTML Language Grade 4 & 5
Quiz
•
4th Grade - University
15 questions
SKD KELASX
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
