예제 #1
0
 public void focusLost(FocusEvent e) {
   // We will still paint focus even if lost temporarily
   focusLostTemporarily = e.isTemporary();
   if (!focusLostTemporarily) {
     comp.repaint();
   }
 }
예제 #2
0
 public void focusGained(FocusEvent e) {
   comp.repaint();
 }