Beispiel #1
0
  public void showConsole() {
    java.awt.Dimension d = new java.awt.Dimension(400, 400);

    if (console == null) {
      console = new Console();
      console.setPreferredSize(d);
      console.setSize(d);
      console.setLocationRelativeTo(getCurrentDocument());
      console.setVisible(true);
    }

    console.setLocationRelativeTo(getCurrentDocument());
    console.setVisible(true);

    for (NodeBoxDocument document : documents) {
      // document.onConsoleVisibleEvent(true);
    }
  }
Beispiel #2
0
  public static void main(String[] args) {

    Console application = new Console(args);
    application.setVisible(true);
  }
 public static void main(String[] args) {
   AgentsForageWithUI antsForage = new AgentsForageWithUI();
   Console c = new Console(antsForage);
   c.setVisible(true);
 }
Beispiel #4
0
 public void hideConsole() {
   console.setVisible(false);
   onHideConsole();
 }