Create a regression test for JDK-8139581 As described in JDK-8139581, when an AWT panel with AWT components, for example "java.awt.Button", is removed from AWT frame and added again to the same frame, then some AWT components contained in the panel are not drawn, however, clicking in the area of not drawn button leads to drawing of the button.
Test has a swing and awt component in a panel. It then removes and adds back the panel from/into the frame, to verify that they are repainted back properly. ------------- Commit messages: - 8298921: Create a regression test for JDK-8139581 - Merge branch 'master' of github.com:openjdk/jdk - 8297481: Create a regression test for JDK-4424517 Changes: https://git.openjdk.org/jdk/pull/11707/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11707&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298921 Stats: 203 lines in 1 file changed: 203 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/11707.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11707/head:pull/11707 PR: https://git.openjdk.org/jdk/pull/11707