English, asked by lochanwakchaure2, 16 days ago

the subclass of JToggoleButton is​

Answers

Answered by srikavithailaya
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 priyarksynergy
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