the subclass of JToggoleButton is
Answers
Answered by
3
Answer:
A JToggleButton is a two-state button. The two states are selected and unselected. The JRadioButton and JCheckBox classes are subclasses of this class. When the user presses the toggle button, it toggles between being pressed or unpressed.
Answered by
0
JRadioButton and JCheckBox are the two subclasses of JToggleButton.
Explanation:
- A JToggleButton is very similar to the JButton component which provides just a push button that does some action whenever clicked.
- Whereas a JToggleButton has two possible options whether it is selected or not selected.
- It can be of two types either a radio button or a check box.
- Hence, they are the subclasses of JToggleButton : JRadioButton and JCheckBox.
Similar questions
India Languages,
1 month ago
Math,
1 month ago
CBSE BOARD XII,
2 months ago
History,
9 months ago
Math,
9 months ago
Math,
9 months ago