/** * Called by the AWT when this component is removed from it's parent. This stops clears the * currently focused component. */ public void removeNotify() { super.removeNotify(); if (focusedComponent == this) focusedComponent = null; }
@Override public void paint(Graphics g) { super.paint(g); }