Look at GUI Applications Questions and
Answers Graded A+
A JFrame is the main container for creating a window in a Java Swing application.
✔✔True
The JPanel component is used to group other components together in a GUI.
✔✔True
A JButton generates an event when clicked by the user.
✔✔True
The setVisible(true) method must be called to display a JFrame.
✔✔True
A JLabel can display both text and an image.
✔✔True
1
, A JTextField allows users to enter and edit a single line of text.
✔✔True
A JPasswordField hides the text input for security purposes.
✔✔True
A JTextArea is used for displaying multi-line text input.
✔✔True
A JComboBox allows users to select only one item from a dropdown list.
✔✔True
A JList allows users to select multiple items at once.
✔✔True
A JCheckBox can be either selected or deselected by the user.
✔✔True
2