java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
public class JToggleButton extends AbstractButton
| Constructor Summary | 
|---|
JToggleButton()
Creates an initially unselected toggle button without setting the text or image.  | 
JToggleButton(String text)
Creates an unselected toggle button with the specified text.  | 
JToggleButton(String text,
              boolean selected)
Creates a toggle button with the specified text and selection state.  |