23 * questions. 24 */ 25 package javax.swing; 26 27 import java.awt.*; 28 import java.awt.event.*; 29 import java.beans.*; 30 31 import javax.swing.plaf.*; 32 import javax.accessibility.*; 33 34 import java.io.ObjectOutputStream; 35 import java.io.ObjectInputStream; 36 import java.io.IOException; 37 38 39 /** 40 * An implementation of a check box -- an item that can be selected or 41 * deselected, and which displays its state to the user. 42 * By convention, any number of check boxes in a group can be selected. 43 * See <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> 44 * in <em>The Java Tutorial</em> 45 * for examples and information on using check boxes. 46 * <p> 47 * Buttons can be configured, and to some degree controlled, by 48 * <code><a href="Action.html">Action</a></code>s. Using an 49 * <code>Action</code> with a button has many benefits beyond directly 50 * configuring a button. Refer to <a href="Action.html#buttonActions"> 51 * Swing Components Supporting <code>Action</code></a> for more 52 * details, and you can find more information in <a 53 * href="http://java.sun.com/docs/books/tutorial/uiswing/misc/action.html">How 54 * to Use Actions</a>, a section in <em>The Java Tutorial</em>. 55 * <p> 56 * <strong>Warning:</strong> Swing is not thread safe. For more 57 * information see <a 58 * href="package-summary.html#threading">Swing's Threading 59 * Policy</a>. 60 * <p> 61 * <strong>Warning:</strong> 62 * Serialized objects of this class will not be compatible with 63 * future Swing releases. The current serialization support is 64 * appropriate for short term storage or RMI between applications running 65 * the same version of Swing. As of 1.4, support for long term storage 66 * of all JavaBeans<sup><font size="-2">TM</font></sup> 67 * has been added to the <code>java.beans</code> package. 68 * Please see {@link java.beans.XMLEncoder}. 69 * 70 * @see JRadioButton 71 * 72 * @beaninfo 73 * attribute: isContainer false | 23 * questions. 24 */ 25 package javax.swing; 26 27 import java.awt.*; 28 import java.awt.event.*; 29 import java.beans.*; 30 31 import javax.swing.plaf.*; 32 import javax.accessibility.*; 33 34 import java.io.ObjectOutputStream; 35 import java.io.ObjectInputStream; 36 import java.io.IOException; 37 38 39 /** 40 * An implementation of a check box -- an item that can be selected or 41 * deselected, and which displays its state to the user. 42 * By convention, any number of check boxes in a group can be selected. 43 * See <a href="http://docs.oracle.com/javase/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a> 44 * in <em>The Java Tutorial</em> 45 * for examples and information on using check boxes. 46 * <p> 47 * Buttons can be configured, and to some degree controlled, by 48 * <code><a href="Action.html">Action</a></code>s. Using an 49 * <code>Action</code> with a button has many benefits beyond directly 50 * configuring a button. Refer to <a href="Action.html#buttonActions"> 51 * Swing Components Supporting <code>Action</code></a> for more 52 * details, and you can find more information in <a 53 * href="http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html">How 54 * to Use Actions</a>, a section in <em>The Java Tutorial</em>. 55 * <p> 56 * <strong>Warning:</strong> Swing is not thread safe. For more 57 * information see <a 58 * href="package-summary.html#threading">Swing's Threading 59 * Policy</a>. 60 * <p> 61 * <strong>Warning:</strong> 62 * Serialized objects of this class will not be compatible with 63 * future Swing releases. The current serialization support is 64 * appropriate for short term storage or RMI between applications running 65 * the same version of Swing. As of 1.4, support for long term storage 66 * of all JavaBeans<sup><font size="-2">TM</font></sup> 67 * has been added to the <code>java.beans</code> package. 68 * Please see {@link java.beans.XMLEncoder}. 69 * 70 * @see JRadioButton 71 * 72 * @beaninfo 73 * attribute: isContainer false |