private void init() { final WaitPanel wait = new WaitPanel(); wait.start(); GuiUtils.setLookAndFeel(); t = new Thread() { public void run() { createMenuBar(); createRender(); Runnable r = new Runnable() { public void run() { setLayout(new BorderLayout()); add(menu, BorderLayout.NORTH); add(render, BorderLayout.CENTER); wait.stop(); } }; SwingUtilities.invokeLater(r); } }; // t.start(); createMenuBar(); createRender(); setLayout(new BorderLayout()); add(menu, BorderLayout.NORTH); add(render, BorderLayout.CENTER); wait.stop(); }
public static void main(String[] args) { GuiUtils.setLookAndFeel(); OperationLimits limits = new OperationLimits(); limits.setMaxSpeed(100d); OperationLimitsPanel panel = new OperationLimitsPanel(new MissionType(), true); panel.setLimits(limits); GuiUtils.testFrame(panel); }
public static void main(String[] args) { ConfigFetch.initialize(); GuiUtils.setLookAndFeel(); GuiUtils.testFrame(new LogBook()); }