< prev index next >
modules/javafx.graphics/src/main/java/javafx/application/Application.java
Print this page
rev 10897 : 8199357: Remove references to applets and Java Web Start from FX
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -340,14 +340,13 @@
* <p>
* NOTE: This method is called on the JavaFX Application Thread.
* </p>
*
* @param primaryStage the primary stage for this application, onto which
- * the application scene can be set. The primary stage will be embedded in
- * the browser if the application was launched as an applet.
+ * the application scene can be set.
* Applications may create other stages, if needed, but they will not be
- * primary stages and will not be embedded in the browser.
+ * primary stages.
* @throws java.lang.Exception if something goes wrong
*/
public abstract void start(Stage primaryStage) throws Exception;
/**
@@ -369,11 +368,11 @@
private HostServices hostServices = null;
/**
* Gets the HostServices provider for this application. This provides
* the ability to get the code base and document base for this application,
- * and to access the enclosing web page.
+ * and to show a web page in a browser.
*
* @return the HostServices provider
*/
public final HostServices getHostServices() {
synchronized (this) {
@@ -384,12 +383,11 @@
}
}
/**
* Retrieves the parameters for this Application, including any arguments
- * passed on the command line and any parameters specified in a JNLP file
- * for an applet or WebStart application.
+ * passed on the command line.
*
* <p>
* NOTE: this method should not be called from the Application constructor,
* as it will return null. It may be called in the init() method or any
* time after that.
@@ -427,12 +425,11 @@
LauncherImpl.notifyPreloader(this, info);
}
/**
* Encapsulates the set of parameters for an application. This includes
- * arguments passed on the command line, unnamed parameters specified
- * in a JNLP file, and <name,value> pairs specified in a JNLP file.
+ * arguments passed on the command line.
*
* <p>
* Note that the application and the preloader both get the same set
* of parameters for a given run of an application.
* </p>
@@ -448,12 +445,12 @@
/**
* Retrieves a read-only list of the raw arguments. This list
* may be empty, but is never null. In the case of a standalone
* application, it is the ordered list of arguments specified on the
- * command line. In the case of an applet or WebStart application,
- * it includes unnamed parameters as well as named parameters. For
+ * command line.
+ * For
* named parameters, each <name,value> pair is represented as
* a single argument of the form: "--name=value".
*
* @return a read-only list of raw application arguments
*/
@@ -470,12 +467,11 @@
public abstract List<String> getUnnamed();
/**
* Retrieves a read-only map of the named parameters. It may be
* empty, but is never null.
- * Named parameters include those <name,value> pairs explicitly
- * specified in a JNLP file. It also includes any command line
+ * Named parameters include any command line
* arguments of the form: "--name=value".
*
* @return a read-only map of named parameters.
*/
public abstract Map<String, String> getNamed();
< prev index next >