Beispiel #1
0
  // Main entry point
  public static void main(String args[]) {

    // show splash screen early
    splash(true);

    Apps.setStartupInfo("JMRIdemo");

    setConfigFilename("JmriDemoConfig2.xml", args);
    JmriJFrame f = new JmriJFrame("JmriDemo");
    createFrame(new JMRIdemo(f), f);

    log.debug("main initialization done");
    splash(false);
  }
Beispiel #2
0
 /** Adds the development menu to the default main menu bar. */
 @Override
 protected void createMenus(JMenuBar menuBar, WindowInterface wi) {
   super.createMenus(menuBar, wi);
   developmentMenu(menuBar, wi);
   menuBar.add(new jmri.jmris.ServerMenu());
 }