@Override public void actionPerform(Component component){
  if (!isEnabled()) {
    return;
  }
  if (beforeActionPerformedHandler != null) {
    if (!beforeActionPerformedHandler.beforeActionPerformed())     return;
  }
  Set selected=target.getSelected();
  if (!selected.isEmpty()) {
    if (confirm) {
      confirmAndRemove(selected);
    }
 else {
      remove(selected);
    }
  }
}

@ Override public void actionPerform ( Component component ) { if ( ! isEnabled ( ) ) { return ; } if ( beforeActionPerformedHandler != null ) { if ( ! beforeActionPerformedHandler . beforeActionPerformed ( ) ) return ; } Set selected = target . getSelected ( ) ; if ( ! selected . isEmpty ( ) ) { if ( confirm ) { confirmAndRemove ( selected ) ; } else { remove ( selected ) ; } } }
this method is invoked by the action owner component .
