List of usage examples for java.awt Component getFocusListeners
public synchronized FocusListener[] getFocusListeners()
From source file:edu.ku.brc.ui.UIHelper.java
/** * Removes all the focus listeners for a component. * @param comp the comp//from www . j ava2s . com */ public static void removeFocusListeners(final Component comp) { if (comp != null) { for (FocusListener l : comp.getFocusListeners()) { comp.removeFocusListener(l); } } }