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); } }
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); }
public void hideConsole() { console.setVisible(false); onHideConsole(); }