code: public static void main(String[] args)
      {
          gbStandAlone = true;
          m_args = args;      // For a standalone app, you must save the args to parse them later.
          if (Application.getRootApplet() != null)
          {
          	Application.getRootApplet().init();
          	Application.getRootApplet().start();
          }
      }
docs: For Stand-alone initialization.
  In the overriding app must do one of the following:
  <pre>
  BaseApplet.main(args);  // call this
  SApplet applet = new SApplet();     // Create your applet object
  applet.init();
  applet.start();                         // This calls init(args)
  (or)
  BaseApplet.main(args);  // call this
  SApplet applet = new SApplet(args);     // Create your applet object - this calls init(args)
  (or)
  SApplet applet = new SApplet();
  BaseApplet.main(args);  // call this
  </pre>
  @param args Arguments in standalone pass-in format.