< prev index next >
test/sun/applet/DeprecatedAppletViewer/DeprecatedAppletViewer.java
Print this page
*** 30,40 ****
* @modules java.desktop/sun.applet
* @run main/othervm -Duser.language=en DeprecatedAppletViewer
*/
public final class DeprecatedAppletViewer {
! private static final String TEXT = "AppletViewer is deprecated.";
public static void main(final String[] args) {
final PrintStream old = System.err;
final ByteArrayOutputStream baos = new ByteArrayOutputStream(1000);
final PrintStream ps = new PrintStream(baos);
--- 30,41 ----
* @modules java.desktop/sun.applet
* @run main/othervm -Duser.language=en DeprecatedAppletViewer
*/
public final class DeprecatedAppletViewer {
! private static final String TEXT
! = "Warning: Applet API and AppletViewer are deprecated.";
public static void main(final String[] args) {
final PrintStream old = System.err;
final ByteArrayOutputStream baos = new ByteArrayOutputStream(1000);
final PrintStream ps = new PrintStream(baos);
< prev index next >