test/jdk/javax/swing/MultiUIDefaults/4300666/bug4300666.java
changeset 54231 e4813eded7cb
parent 47216 71c04702a3d5
--- a/test/jdk/javax/swing/MultiUIDefaults/4300666/bug4300666.java	Wed Feb 27 14:30:08 2019 -0800
+++ b/test/jdk/javax/swing/MultiUIDefaults/4300666/bug4300666.java	Wed Feb 27 18:46:55 2019 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2007, 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
@@ -23,19 +23,15 @@
 
 /*
  * @test
- * @key headful
  * @bug 4300666
  * @summary Printing UIDefaults throws NoSuchElementExcept
- * @author Andrey Pikalev
- * @run applet bug4300666.html
  */
 
 import javax.swing.*;
 
+public class bug4300666 {
 
-public class bug4300666 extends JApplet {
-
-    public void init() {
+    public static void main(final String[] args) {
         UIDefaults d = UIManager.getDefaults();
         d.toString();
     }