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