68 * information see <a
69 * href="package-summary.html#threading">Swing's Threading
70 * Policy</a>.
71 * <p>
72 * <strong>Warning:</strong>
73 * Serialized objects of this class will not be compatible with
74 * future Swing releases. The current serialization support is
75 * appropriate for short term storage or RMI between applications running
76 * the same version of Swing. As of 1.4, support for long term storage
77 * of all JavaBeans™
78 * has been added to the <code>java.beans</code> package.
79 * Please see {@link java.beans.XMLEncoder}.
80 *
81 * @beaninfo
82 * attribute: isContainer false
83 * description: A component which can display it's state as selected or deselected.
84 *
85 * @see ButtonGroup
86 * @see JCheckBox
87 * @author Jeff Dinkins
88 */
89 @SuppressWarnings("serial") // Same-version serialization only
90 public class JRadioButton extends JToggleButton implements Accessible {
91
92 /**
93 * @see #getUIClassID
94 * @see #readObject
95 */
96 private static final String uiClassID = "RadioButtonUI";
97
98
99 /**
100 * Creates an initially unselected radio button
101 * with no set text.
102 */
103 public JRadioButton () {
104 this(null, null, false);
105 }
106
107 /**
|
68 * information see <a
69 * href="package-summary.html#threading">Swing's Threading
70 * Policy</a>.
71 * <p>
72 * <strong>Warning:</strong>
73 * Serialized objects of this class will not be compatible with
74 * future Swing releases. The current serialization support is
75 * appropriate for short term storage or RMI between applications running
76 * the same version of Swing. As of 1.4, support for long term storage
77 * of all JavaBeans™
78 * has been added to the <code>java.beans</code> package.
79 * Please see {@link java.beans.XMLEncoder}.
80 *
81 * @beaninfo
82 * attribute: isContainer false
83 * description: A component which can display it's state as selected or deselected.
84 *
85 * @see ButtonGroup
86 * @see JCheckBox
87 * @author Jeff Dinkins
88 * @since 1.2
89 */
90 @SuppressWarnings("serial") // Same-version serialization only
91 public class JRadioButton extends JToggleButton implements Accessible {
92
93 /**
94 * @see #getUIClassID
95 * @see #readObject
96 */
97 private static final String uiClassID = "RadioButtonUI";
98
99
100 /**
101 * Creates an initially unselected radio button
102 * with no set text.
103 */
104 public JRadioButton () {
105 this(null, null, false);
106 }
107
108 /**
|