public void updateEnableStateSwingItems(){
  if (SwingUtilities.isEventDispatchThread())   super.updateEnableState();
}

public void updateEnableStateSwingItems ( ) { if ( SwingUtilities . isEventDispatchThread ( ) ) super . updateEnableState ( ) ; }
update the enable state for only the swing menu items
