< prev index next >
src/java.desktop/share/classes/sun/applet/AppletViewer.java
Print this page
@@ -41,10 +41,11 @@
/**
* A frame to show the applet tag in.
*/
@SuppressWarnings("serial") // JDK-implementation class
+@Deprecated(since = "9")
final class TextFrame extends Frame {
/**
* Create the tag frame.
*/
@@ -89,10 +90,11 @@
}
/**
* Lets us construct one using unix-style one shot behaviors.
*/
+@Deprecated(since = "9")
final class StdAppletViewerFactory implements AppletViewerFactory {
@Override
public AppletViewer createAppletViewer(int x, int y,
URL doc, Hashtable<String, String> atts) {
@@ -114,12 +116,17 @@
* The applet viewer makes it possible to run a Java applet without using a browser.
* For details on the syntax that <B>appletviewer</B> supports, see
* <a href="../../../docs/tooldocs/appletviewertags.html">AppletViewer Tags</a>.
* (The document named appletviewertags.html in the JDK's docs/tooldocs directory,
* once the JDK docs have been installed.)
+ *
+ * @deprecated The Applet API is deprecated. See the
+ * <a href="../../java/applet/package-summary.html"> java.applet package
+ * documentation</a> for further information.
*/
-@SuppressWarnings({"serial", "deprecation"}) // JDK-implementation class
+@SuppressWarnings({"serial"}) // JDK-implementation class
+@Deprecated(since = "9")
public class AppletViewer extends Frame implements AppletContext, Printable {
/**
* Some constants...
*/
@@ -144,11 +151,11 @@
/**
* For cloning
*/
AppletViewerFactory factory;
-
+ @Deprecated(since = "9")
private final class UserActionListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent evt) {
processUserAction(evt);
}
@@ -217,10 +224,11 @@
public void windowDeiconified(WindowEvent evt) {
appletStart();
}
};
+ @Deprecated(since = "9")
class AppletEventListener implements AppletListener
{
final Frame frame;
public AppletEventListener(Frame frame)
< prev index next >