< prev index next >

test/javax/swing/JComboBox/8032878/bug8032878.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 8032878
+ * @bug 8032878 8078855
  * @summary Checks that JComboBox as JTable cell editor processes key events
  *          even where setSurrendersFocusOnKeystroke flag in JTable is false and
  *          that it does not lose the first key press where the flag is true.
  * @library ../../regtesthelpers
  * @build Util

@@ -99,10 +99,12 @@
 
     private void runTest() throws Exception {
         robot.waitForIdle();
         // Select 'one'
         Util.hitKeys(robot, KeyEvent.VK_TAB);
+        Util.hitKeys(robot, KeyEvent.VK_F2);
+        Util.hitKeys(robot, KeyEvent.VK_END);
         robot.waitForIdle();
         Util.hitKeys(robot, KeyEvent.VK_1);
         Util.hitKeys(robot, KeyEvent.VK_2);
         Util.hitKeys(robot, KeyEvent.VK_3);
         Util.hitKeys(robot, KeyEvent.VK_ENTER);
< prev index next >