Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282147

[TESTBUG] waitForIdle after creating frame in JSpinnerMouseAndKeyPressTest.java

XMLWordPrintable

    • 19
    • b11

      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.

            mvs Manukumar V S
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: