equal
deleted
inserted
replaced
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 |