public void removeFocusListener(FocusListener listener) { if (listenerList != null) { listenerList.remove(FocusListener.class, listener); } }
public void removeActionListener(ActionListener listener) { if (listenerList != null) { listenerList.remove(ActionListener.class, listener); } }