author | adinn |
Fri, 26 Jan 2018 16:38:21 +0000 | |
changeset 48682 | 34e45260c040 |
parent 47216 | 71c04702a3d5 |
child 50345 | 276cb4b17f79 |
permissions | -rw-r--r-- |
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
1 |
/* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
2 |
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
4 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
10 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
15 |
* accompanied this code). |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
16 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
20 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
23 |
* questions. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
24 |
*/ |
2 | 25 |
|
44151
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
26 |
/** |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
27 |
* Provides the classes necessary to create an applet and the classes an applet |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
28 |
* uses to communicate with its applet context. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
29 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
30 |
* The applet framework involves two entities: the <i>applet</i> and the |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
31 |
* <i>applet context</i>. An applet is an embeddable window (see the Panel |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
32 |
* class) with a few extra methods that the applet context can use to |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
33 |
* initialize, start, and stop the applet. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
34 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
35 |
* The applet context is an application that is responsible for loading and |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
36 |
* running applets. For example, the applet context could be a Web browser or an |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
37 |
* applet development environment. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
38 |
* <p> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
39 |
* The APIs in this package are all deprecated. Alternative technologies such as |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
40 |
* Java Web Start or installable applications should be used instead. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
41 |
* See <a href="http://openjdk.java.net/jeps/289">JEP 289</a> and |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
42 |
* the Oracle White Paper |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
43 |
* <a href="http://www.oracle.com/technetwork/java/javase/migratingfromapplets-2872444.pdf"> |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
44 |
* "Migrating from Java Applets to plugin-free Java technologies"</a> for more |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
45 |
* information. |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
46 |
* |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
47 |
* @since 1.0 |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
48 |
*/ |
bb5790b4b278
8176046: Replace package.html files with package-info.java in the java.desktop module
serb
parents:
38470
diff
changeset
|
49 |
package java.applet; |