This testcase checks for the following assertions for Component events: 1. When components are resized, moved, hidden and shown the respective events are triggered. 2. When the components are hidden/disabled also,the component events like resized/moved are triggered. 3. When a hidden component is hidden again, or a visible component is shown again, the events should not be fired. 4. When a window is minimized/restored then hidden and shown component events should be triggered.
Testing: Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass. ------------- Commit messages: - 8333403: Write a test to check various components events are triggered properly Changes: https://git.openjdk.org/jdk/pull/19521/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19521&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8333403 Stats: 371 lines in 1 file changed: 371 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/19521.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19521/head:pull/19521 PR: https://git.openjdk.org/jdk/pull/19521