On Wed, 30 Nov 2022 07:57:16 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> Alisen Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fixed imports, changed robot autodelay and added delay after creating gui > > test/jdk/java/awt/Mouse/EnterExitEvents/DragWindowTest.java line 58: > >> 56: >> 57: Robot robot = new Robot(); >> 58: robot.setAutoDelay(250); > > We normally do not need so much delay for test to work, 100ms being the norm > which has sufficed for other tests. > Maybe you need to wait robot.delay after creating and showing the GUI which > is not done here. > Also, this test has heavyweight and lightweight mix, for ex. MyDragWindow > class uses JPanel but not in EDT which can result in some timing issue you > are seeing, either it needs to be in EDT or can it be changed to AWT Panel as > done elsewhere in the test? > > ALso, please change the wildcards imports while you are at it.. JPanel question is still unanswered/unchanged... ------------- PR: https://git.openjdk.org/jdk/pull/11425