< prev index next >
test/jdk/javax/imageio/AppletResourceTest.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -22,19 +22,16 @@
*/
/*
* @test
* @bug 4481957
- * @key headful
* @summary Tests that applet-supplied ImageReader, ImageWriter, and
* IIOMetadataFormat implementations do not throw unexpected exceptions
* when indirectly attempting to access ResourceBundles
* @run main AppletResourceTest
- * @run applet AppletResourceTest.html
*/
-import java.applet.Applet;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.Iterator;
import java.util.ListResourceBundle;
@@ -51,11 +48,11 @@
import javax.imageio.metadata.IIOMetadata;
import javax.imageio.spi.ImageReaderSpi;
import org.w3c.dom.Node;
-public class AppletResourceTest extends Applet {
+public class AppletResourceTest {
public static void main(String[] argv) {
new AppletResourceTest().init();
}
< prev index next >