Exemplo n.º 1
0
  /** Initial actions before frame is created, invoked in the applications main() routine. */
  public static void preInit(String applicationName) {
    AppsBase.preInit(applicationName);

    // Initialise system console
    // Put this here rather than in apps.AppsBase as this is only relevant
    // for GUI applications - non-gui apps will use STDOUT & STDERR
    SystemConsole.create();

    splash(true);

    setButtonSpace();
  }
Exemplo n.º 2
0
 /**
  * Get current SystemConsole instance. If one doesn't yet exist, create it.
  *
  * @return current SystemConsole instance
  */
 public static SystemConsole getInstance() {
   if (instance == null) {
     SystemConsole.create();
   }
   return instance;
 }