Exemplo n.º 1
0
  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();
  }
Exemplo n.º 2
0
  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);
  }
Exemplo n.º 3
0
 public static void main(String[] args) {
   ConfigFetch.initialize();
   GuiUtils.setLookAndFeel();
   GuiUtils.testFrame(new LogBook());
 }