--- a/jdk/test/javax/swing/JSpinner/5012888/bug5012888.java Fri Jun 17 21:08:03 2016 +0800
+++ b/jdk/test/javax/swing/JSpinner/5012888/bug5012888.java Tue Jun 14 10:44:59 2016 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2016, 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
@@ -21,12 +21,15 @@
* questions.
*/
-/* @test 1.0 04/04/23
- @bug 5012888
- @summary REGRESSION: Click & hold on arrow of JSpinner only transfers focus
- @author Konstantin Eremin
- @run main bug5012888
-*/
+/*
+ * @test 1.0 04/04/23
+ * @key headful
+ * @bug 5012888
+ * @summary REGRESSION: Click & hold on arrow of JSpinner only transfers focus
+ * @author Konstantin Eremin
+ * @run main bug5012888
+ */
+
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;