jdk/src/share/classes/java/awt/CheckboxMenuItem.java
changeset 21278 ef8a3a2a72f2
parent 20451 4cedf4e1560a
child 21957 97758de70fbd
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   178     public boolean getState() {
   178     public boolean getState() {
   179         return state;
   179         return state;
   180     }
   180     }
   181 
   181 
   182     /**
   182     /**
   183      * Sets this check box menu item to the specifed state.
   183      * Sets this check box menu item to the specified state.
   184      * The boolean value <code>true</code> indicates "on" while
   184      * The boolean value <code>true</code> indicates "on" while
   185      * <code>false</code> indicates "off."
   185      * <code>false</code> indicates "off."
   186      *
   186      *
   187      * <p>Note that this method should be primarily used to
   187      * <p>Note that this method should be primarily used to
   188      * initialize the state of the check box menu item.
   188      * initialize the state of the check box menu item.