5 Questions
Which class represents the Swing version of Applet?
JApplet
Which package needs to be imported for using Swing Classes?
javax.swing
Which class encapsulates an icon?
ImageIcon
Which class encapsulates a mutually exclusive set of buttons?
ButtonGroup
Which is the Swing check box class?
JCheckBox
Study Notes
Swing Components
- The
JApplet
class represents the Swing version of Applet. - The
javax.swing
package needs to be imported for using Swing Classes.
Icon and Button Components
- The
Icon
class encapsulates an icon. - The
ButtonGroup
class encapsulates a mutually exclusive set of buttons. - The
JCheckBox
class is the Swing check box class.
Test your knowledge about Swing components and classes with this quiz that covers topics such as the features of Swing, platform independence, component weight, and superclasses for Swing buttons.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free