示例#1
0
 /**
  * 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;
 }
示例#2
0
 @Override
 public void paint(Graphics g) {
   super.paint(g);
 }