jdk/src/share/classes/java/awt/List.java
changeset 16734 da1901d79073
parent 12813 c10ab96dcf41
child 20451 4cedf4e1560a
equal deleted inserted replaced
16733:9267ec7004a1 16734:da1901d79073
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    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;
       
    37 
    36 
    38 
    37 
    39 /**
    38 /**
    40  * The <code>List</code> component presents the user with a
    39  * The <code>List</code> component presents the user with a
    41  * scrolling list of text items. The list can be set up so that
    40  * scrolling list of text items. The list can be set up so that
   105  * @see         java.awt.event.ItemListener
   104  * @see         java.awt.event.ItemListener
   106  * @see         java.awt.event.ActionEvent
   105  * @see         java.awt.event.ActionEvent
   107  * @see         java.awt.event.ActionListener
   106  * @see         java.awt.event.ActionListener
   108  * @since       JDK1.0
   107  * @since       JDK1.0
   109  */
   108  */
   110 /* No native methods here, but the constants are needed in the supporting JNI code */
       
   111 @GenerateNativeHeader
       
   112 public class List extends Component implements ItemSelectable, Accessible {
   109 public class List extends Component implements ItemSelectable, Accessible {
   113     /**
   110     /**
   114      * A vector created to contain items which will become
   111      * A vector created to contain items which will become
   115      * part of the List Component.
   112      * part of the List Component.
   116      *
   113      *