< prev index next >

src/java.desktop/share/classes/javax/swing/ActionPropertyChangeListener.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 43,53 **** * WARNING WARNING WARNING WARNING WARNING WARNING:<br> * Do NOT create an annonymous inner class that extends this! If you do * a strong reference will be held to the containing class, which in most * cases defeats the purpose of this class. * ! * @param T the type of JComponent the underlying Action is attached to * * @author Georges Saab * @see AbstractButton */ @SuppressWarnings("serial") // Bound of type variable is not serializable across versions --- 43,53 ---- * WARNING WARNING WARNING WARNING WARNING WARNING:<br> * Do NOT create an annonymous inner class that extends this! If you do * a strong reference will be held to the containing class, which in most * cases defeats the purpose of this class. * ! * @param <T> the type of JComponent the underlying Action is attached to * * @author Georges Saab * @see AbstractButton */ @SuppressWarnings("serial") // Bound of type variable is not serializable across versions
< prev index next >