On Sun, 20 Feb 2022 08:01:28 GMT, Manukumar V S <m...@openjdk.org> wrote:
> Call Robot.waitForIdle() after createUI and before getting the location of > the JSpinner component in the test: > javax/swing/JSpinner/4515999/JSpinnerMouseAndKeyPressTest.java. > > This is needed to ensure all the events for creating and displaying the frame > are processed before interacting with the components on the screen. Marked as reviewed by aivanov (Reviewer). test/jdk/javax/swing/JSpinner/4515999/JSpinnerMouseAndKeyPressTest.java line 86: > 84: frame.add(panel); > 85: frame.setUndecorated(true); > 86: frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); Is it even possible to close an undecorated window? ------------- PR: https://git.openjdk.java.net/jdk/pull/7545