Write a test to check textArea triggers MouseEntered/MouseExited events properly

MouseEntered should be triggered only when the mouse enters the component and 
MouseExited should be triggered when the mouse goes out of the component.

In TextArea, when we moved the mouse inside the component MouseMoved events are 
triggered properly. But when we slowly took the mouse outside the component 
that is towards the scrollbars, we could see a MouseEntered event being 
triggered followed by MouseExited.(before actually mouse enters the scrollbar)

Testing:
Tested using Mach5(20 times per platform) in macos,linux and windows and got 
all pass.

-------------

Commit messages:
 - 8316947: Jcheck issue
 - 8316947: Write a test to check textArea triggers MouseEntered/MouseExited 
events properly

Changes: https://git.openjdk.org/jdk/pull/15961/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15961&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316947
  Stats: 137 lines in 1 file changed: 137 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15961.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15961/head:pull/15961

PR: https://git.openjdk.org/jdk/pull/15961

Reply via email to