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