void showFrame() { if (ogf == null) { started = true; ogf = new CirSim(this); ogf.init(); repaint(); } }
public static void main(String args[]) { ogf = new CirSim(null); ogf.init(); }