equal
deleted
inserted
replaced
31 import java.awt.event.*; |
31 import java.awt.event.*; |
32 import java.io.ObjectOutputStream; |
32 import java.io.ObjectOutputStream; |
33 import java.io.ObjectInputStream; |
33 import java.io.ObjectInputStream; |
34 import java.io.IOException; |
34 import java.io.IOException; |
35 import javax.accessibility.*; |
35 import javax.accessibility.*; |
|
36 import javax.tools.annotation.GenerateNativeHeader; |
36 |
37 |
37 |
38 |
38 /** |
39 /** |
39 * The <code>List</code> component presents the user with a |
40 * The <code>List</code> component presents the user with a |
40 * scrolling list of text items. The list can be set up so that |
41 * scrolling list of text items. The list can be set up so that |
104 * @see java.awt.event.ItemListener |
105 * @see java.awt.event.ItemListener |
105 * @see java.awt.event.ActionEvent |
106 * @see java.awt.event.ActionEvent |
106 * @see java.awt.event.ActionListener |
107 * @see java.awt.event.ActionListener |
107 * @since JDK1.0 |
108 * @since JDK1.0 |
108 */ |
109 */ |
|
110 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
111 @GenerateNativeHeader |
109 public class List extends Component implements ItemSelectable, Accessible { |
112 public class List extends Component implements ItemSelectable, Accessible { |
110 /** |
113 /** |
111 * A vector created to contain items which will become |
114 * A vector created to contain items which will become |
112 * part of the List Component. |
115 * part of the List Component. |
113 * |
116 * |