--- a/jdk/test/java/awt/Focus/FrameJumpingToMouse/FrameJumpingToMouse.java Fri Jun 17 21:08:03 2016 +0800
+++ b/jdk/test/java/awt/Focus/FrameJumpingToMouse/FrameJumpingToMouse.java Tue Jun 14 10:44:59 2016 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 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
@@ -22,14 +22,15 @@
*/
/*
- @test
- @bug 4752312
- @summary Tests that after moving non-focusable window it ungrabs mouse pointer
- @author Denis Mikhalkin: area=awt.focus
- @library ../../regtesthelpers
- @build Util
- @run main FrameJumpingToMouse
-*/
+ * @test
+ * @key headful
+ * @bug 4752312
+ * @summary Tests that after moving non-focusable window it ungrabs mouse pointer
+ * @author Denis Mikhalkin: area=awt.focus
+ * @library ../../regtesthelpers
+ * @build Util
+ * @run main FrameJumpingToMouse
+ */
import java.applet.Applet;
import java.awt.BorderLayout;