jdk/src/share/classes/javax/swing/ActionPropertyChangeListener.java
changeset 23697 e556a715949f
parent 23010 6dadb192ad81
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 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
    48  * @param T the type of JComponent the underlying Action is attached to
    48  * @param T the type of JComponent the underlying Action is attached to
    49  *
    49  *
    50  * @author Georges Saab
    50  * @author Georges Saab
    51  * @see AbstractButton
    51  * @see AbstractButton
    52  */
    52  */
       
    53 @SuppressWarnings("serial") // Bound of type variable  is not serializable across versions
    53 abstract class ActionPropertyChangeListener<T extends JComponent>
    54 abstract class ActionPropertyChangeListener<T extends JComponent>
    54         implements PropertyChangeListener, Serializable {
    55         implements PropertyChangeListener, Serializable {
    55     private static ReferenceQueue<JComponent> queue;
    56     private static ReferenceQueue<JComponent> queue;
    56 
    57 
    57     // WeakReference's aren't serializable.
    58     // WeakReference's aren't serializable.