This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
public ActionWrapper( Action action ) {
this.action = action;
this.action.addPropertyChangeListener( this );
}
public String getName() {
public boolean isEnabled() {
return action.isEnabled();
protected void addNotify() {
super.addNotify();
protected void removeNotify() {
this.action.removePropertyChangeListener( this );
super.removeNotify();
public void performAction() {
actionPerformed( new ActionEvent( this, 0, "" ) ); // NOI18N