jdk/test/javax/swing/text/StyledEditorKit/4506788/bug4506788.java
changeset 39056 d99e63b6d962
parent 28071 3acb75b8df45
--- a/jdk/test/javax/swing/text/StyledEditorKit/4506788/bug4506788.java	Fri Jun 17 21:08:03 2016 +0800
+++ b/jdk/test/javax/swing/text/StyledEditorKit/4506788/bug4506788.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
- @bug 4506788 7147408
- @summary  Tests if cursor gets stuck after insertion a character
- @author Denis Sharypov
- @run applet bug4506788.html
+/*
+ * @test
+ * @key headful
+ * @bug 4506788 7147408
+ * @summary  Tests if cursor gets stuck after insertion a character
+ * @author Denis Sharypov
+ * @run applet bug4506788.html
  */
+
 import java.awt.*;
 import java.awt.event.*;
 import java.lang.reflect.InvocationTargetException;