jdk/src/share/classes/java/awt/Choice.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 13997 8889b37053e6
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    31 import java.io.ObjectOutputStream;
    31 import java.io.ObjectOutputStream;
    32 import java.io.ObjectInputStream;
    32 import java.io.ObjectInputStream;
    33 import java.io.IOException;
    33 import java.io.IOException;
    34 
    34 
    35 import javax.accessibility.*;
    35 import javax.accessibility.*;
       
    36 
       
    37 import javax.tools.annotation.GenerateNativeHeader;
    36 
    38 
    37 /**
    39 /**
    38  * The <code>Choice</code> class presents a pop-up menu of choices.
    40  * The <code>Choice</code> class presents a pop-up menu of choices.
    39  * The current choice is displayed as the title of the menu.
    41  * The current choice is displayed as the title of the menu.
    40  * <p>
    42  * <p>
    67  * <p>
    69  * <p>
    68  * @author      Sami Shaio
    70  * @author      Sami Shaio
    69  * @author      Arthur van Hoff
    71  * @author      Arthur van Hoff
    70  * @since       JDK1.0
    72  * @since       JDK1.0
    71  */
    73  */
       
    74 /* No native methods here, but the constants are needed in the supporting JNI code */
       
    75 @GenerateNativeHeader
    72 public class Choice extends Component implements ItemSelectable, Accessible {
    76 public class Choice extends Component implements ItemSelectable, Accessible {
    73     /**
    77     /**
    74      * The items for the <code>Choice</code>.
    78      * The items for the <code>Choice</code>.
    75      * This can be a <code>null</code> value.
    79      * This can be a <code>null</code> value.
    76      * @serial
    80      * @serial