Save
JAVA
Save
Share
Learn
Content
Leaderboard
Learn
Created by
PERSONAL YT
Visit profile
Cards (4)
Command Line Interface
(
CLI
) is a text-based interaction system
Graphical User Interface
(
GUI
) allows users to
interact
through
graphical elements
Structure of Graphical User Interface:
Frame
: also referred to as "
form
"
Controls
: graphical elements
Properties: characteristics
Methods
: block of code
Controls in Java:
JFrame:
container
JTextField:
single-line
text
input
JTextArea: display
multi-line
text
JRadioButton:
option selection
JButton:
push
button
JComboBox:
drop-down list
JLabel:
display
text
JPasswordField: provides a
secure
way for users to enter
passwords