< prev index next >
src/java.desktop/share/classes/javax/swing/ActionPropertyChangeListener.java
Print this page
*** 76,86 ****
this.action = a;
}
/**
* PropertyChangeListener method. If the target has been gc'ed this
! * will remove the <code>PropertyChangeListener</code> from the Action,
* otherwise this will invoke actionPropertyChanged.
*/
public final void propertyChange(PropertyChangeEvent e) {
T target = getTarget();
if (target == null) {
--- 76,86 ----
this.action = a;
}
/**
* PropertyChangeListener method. If the target has been gc'ed this
! * will remove the {@code PropertyChangeListener} from the Action,
* otherwise this will invoke actionPropertyChanged.
*/
public final void propertyChange(PropertyChangeEvent e) {
T target = getTarget();
if (target == null) {
< prev index next >