animator.stop(); System.out.println("Exiting"); System.exit(0); }
new Thread(new Runnable() { public void run() { animator.stop(); System.exit(0); } }).start(); }
      public void windowClosing(WindowEvent e) {        animator.stop();        System.out.println("Exiting");        System.exit(0);      }