Please review a test fix for an issue seen to be failing in mach5 testing which JList selection was not correct which seems to stem from the fact that the keypress event was initiated before the frame is made visible. Fix by adding a robot delay after setVisible and also moved the frame to centre of screen to avoid problems with keypress on window at left edge of monitor. Mach5 job was run for several iteration on all 3 platforms. Link in JBS.
------------- Commit messages: - 7156347: javax/swing/JList/6462008/bug6462008.java fails Changes: https://git.openjdk.java.net/jdk/pull/793/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=793&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-7156347 Stats: 3 lines in 2 files changed: 2 ins; 1 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/793.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/793/head:pull/793 PR: https://git.openjdk.java.net/jdk/pull/793