jdk/src/share/classes/javax/swing/JComboBox.java
changeset 22574 7f8ce0c8c20a
parent 22260 c9185e010e03
child 23689 5571891e9b68
equal deleted inserted replaced
22573:8f0344f13b7f 22574:7f8ce0c8c20a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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
    76  * description: A combination of a text field and a drop-down list.
    76  * description: A combination of a text field and a drop-down list.
    77  *
    77  *
    78  * @author Arnaud Weber
    78  * @author Arnaud Weber
    79  * @author Mark Davidson
    79  * @author Mark Davidson
    80  */
    80  */
       
    81 @SuppressWarnings("serial") // Same-version serialization only
    81 public class JComboBox<E> extends JComponent
    82 public class JComboBox<E> extends JComponent
    82 implements ItemSelectable,ListDataListener,ActionListener, Accessible {
    83 implements ItemSelectable,ListDataListener,ActionListener, Accessible {
    83     /**
    84     /**
    84      * @see #getUIClassID
    85      * @see #getUIClassID
    85      * @see #readObject
    86      * @see #readObject
  1610      * the same version of Swing.  As of 1.4, support for long term storage
  1611      * the same version of Swing.  As of 1.4, support for long term storage
  1611      * of all JavaBeans&trade;
  1612      * of all JavaBeans&trade;
  1612      * has been added to the <code>java.beans</code> package.
  1613      * has been added to the <code>java.beans</code> package.
  1613      * Please see {@link java.beans.XMLEncoder}.
  1614      * Please see {@link java.beans.XMLEncoder}.
  1614      */
  1615      */
       
  1616     @SuppressWarnings("serial") // Same-version serialization only
  1615     protected class AccessibleJComboBox extends AccessibleJComponent
  1617     protected class AccessibleJComboBox extends AccessibleJComponent
  1616     implements AccessibleAction, AccessibleSelection {
  1618     implements AccessibleAction, AccessibleSelection {
  1617 
  1619 
  1618 
  1620 
  1619         private JList popupList; // combo box popup list
  1621         private JList popupList; // combo box popup list