< prev index next >
modules/javafx.graphics/src/main/java/javafx/application/Preloader.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) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -30,12 +30,11 @@
/**
* Class that is extended to define an optional preloader for a
* JavaFX Application.
* An application may contain a preloader that is used
- * to improve the application loading experience, especially for applications
- * that are embedded in a browser or launched in webstart execution mode.
+ * to improve the application loading experience.
*
* <p>
* A preloader is a small application that is started
* before the main application to customize the startup experience.
* The preloader:
@@ -74,16 +73,12 @@
*
* <p>
* Custom preloader implementations should follow these rules:
* </p>
* <ol>
- * <li>there should be class extending Preloader</li>
- * <li>classes needed for preloader need to be packaged in the separate jar.
- * We recommend this jar to be unsigned.</li>
- * <li>JNLP deployment descriptor should have preloader-class attribute
- * with full name of the class as value in the javafx-desc element
- * and jars needed for progress need to have download="progress" type</li>
+ * <li>a custom preloader class should extend Preloader</li>
+ * <li>classes needed for preloader need to be packaged in the separate jar.</li>
* </ol>
*
* <p>
* Applications may also send custom notification to the preloader using the
* {@link #notifyPreloader notifyPreloader} method. This way a preloader may
@@ -213,11 +208,11 @@
public static interface PreloaderNotification {
}
/**
* Preloader notification that reports an error.
- * This is delivered to preloader in case of problem with applet startup.
+ * This is delivered to preloader in case of problem with application startup.
* @since JavaFX 2.0
*/
public static class ErrorNotification implements PreloaderNotification {
private String location;
private String details = "";
< prev index next >