yield();
        public SwingFrame() {            addWindowListener(new WindowAdapter() {                public void windowClosing(WindowEvent e) {                    dispose();                }            });            init();            pack();            // MAKE SURE YOU REPAINT SOMEHOW OR YOU WON'T SEE THE UPDATES...            new Thread() {                { setDaemon(true); }                public void run() {                    while (true) {                        comp.repaint();                    }                }            }.start();                    }