예제 #1
0
 public void actionPerformed(ActionEvent e) {
   if (isVisible()) {
     repaint();
   } else {
     animator.stop();
   }
 }
예제 #2
0
 public void go() {
   animator = new javax.swing.Timer(22 + 22 + 22, this);
   animator.start();
 }