< prev index next >
src/java.desktop/share/classes/sun/applet/AppletViewer.java
Print this page
*** 41,50 ****
--- 41,51 ----
/**
* 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,98 ****
--- 90,100 ----
}
/**
* 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,125 ****
* 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.)
*/
! @SuppressWarnings({"serial", "deprecation"}) // JDK-implementation class
public class AppletViewer extends Frame implements AppletContext, Printable {
/**
* Some constants...
*/
--- 116,132 ----
* 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"}) // JDK-implementation class
! @Deprecated(since = "9")
public class AppletViewer extends Frame implements AppletContext, Printable {
/**
* Some constants...
*/
*** 144,154 ****
/**
* For cloning
*/
AppletViewerFactory factory;
!
private final class UserActionListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent evt) {
processUserAction(evt);
}
--- 151,161 ----
/**
* For cloning
*/
AppletViewerFactory factory;
! @Deprecated(since = "9")
private final class UserActionListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent evt) {
processUserAction(evt);
}
*** 217,226 ****
--- 224,234 ----
public void windowDeiconified(WindowEvent evt) {
appletStart();
}
};
+ @Deprecated(since = "9")
class AppletEventListener implements AppletListener
{
final Frame frame;
public AppletEventListener(Frame frame)
< prev index next >