< prev index next >
test/sun/applet/DeprecatedAppletViewer/DeprecatedAppletViewer.java
Print this page
@@ -30,11 +30,12 @@
* @modules java.desktop/sun.applet
* @run main/othervm -Duser.language=en DeprecatedAppletViewer
*/
public final class DeprecatedAppletViewer {
- private static final String TEXT = "AppletViewer is deprecated.";
+ 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 >