This testcase Verify the content changes of a TextField for the following assertions.
a. TextListener get invoked when the content of a TextField gets changed. b. TextListener not get invoked during text selection or when Special keys such as Function Keys are pressed. Testing: Tested using Mach5(20 times per platform) in macos,linux and windows and got all pass. ------------- Commit messages: - 8297489: Write a test to verify the content change of TextField sends TextEvent Changes: https://git.openjdk.org/jdk/pull/11326/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11326&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8297489 Stats: 140 lines in 1 file changed: 140 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/11326.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11326/head:pull/11326 PR: https://git.openjdk.org/jdk/pull/11326
