yield();
try { sleep(2); } catch (InterruptedException e) { e.printStackTrace(); }
    public RenParticleEditor() {        try {            jbInit();            // center the frame            setLocationRelativeTo(null);            // show frame            setVisible(true);            while (glCanvas == null || impl.startTime == 0) ;            // MAKE SURE YOU REPAINT SOMEHOW OR YOU WON'T SEE THE UPDATES...            new Thread() {                { setDaemon(true); }                public void run() {                    while (true) {                        glCanvas.repaint();                        yield();                    }                }            }.start();                        updateFromManager();        } catch (Exception ex) {            ex.printStackTrace();        }    }