< prev index next >

modules/javafx.graphics/src/main/java/javafx/application/Application.java

Print this page

        

@@ -183,16 +183,16 @@
      */
     public static final String STYLESHEET_MODENA = "MODENA";
 
     /**
      * Launch a standalone application. This method is typically called
-     * from the main method(). It must not be called more than once or an
+     * from the {@code main} method. It must not be called more than once or an
      * exception will be thrown.
      *
      * <p>
      * The launch method does not return until the application has exited,
-     * either via a call to Platform.exit or all of the application windows
+     * either via a call to {@link Platform#exit()} or all of the application windows
      * have been closed.
      * The class specified by the {@code appClass} argument must be
      * a public subclass of {@code Application}
      * with a public no-argument constructor, in a package that is
      * {@link Module#isExported(String,Module) exported}

@@ -227,11 +227,11 @@
         LauncherImpl.launchApplication(appClass, args);
     }
 
     /**
      * Launch a standalone application. This method is typically called
-     * from the main method(). It must not be called more than once or an
+     * from the {@code main} method. It must not be called more than once or an
      * exception will be thrown.
      * This is equivalent to {@code launch(TheClass.class, args)} where
      * {@code TheClass} is the
      * immediately enclosing class of the method that called launch.
      * It must be a public subclass of {@code Application}

@@ -240,11 +240,11 @@
      * (or {@link Module#isOpen(String,Module) open}) to at least the
      * {@code javafx.graphics} module, or a RuntimeException will be thrown.
      *
      * <p>
      * The launch method does not return until the application has exited,
-     * either via a call to Platform.exit or all of the application windows
+     * either via a call to {@link Platform#exit()} or all of the application windows
      * have been closed.
      *
      * <p>
      * Typical usage is:
      * <pre>
< prev index next >