public void uninstallUI(JComponent c){
  delegate.uninstallUI(c);
  c.removeFocusListener(focusHandler);
  promptComponent=null;
}

public void uninstallUI ( JComponent c ) { delegate . uninstallUI ( c ) ; c . removeFocusListener ( focusHandler ) ; promptComponent = null ; }
delegates , then uninstalls the focus listener .
