-
Bug
-
Resolution: Fixed
-
P2
-
6u105, 7u91, 8u51, 9
-
b107
-
generic
-
linux
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8156307 | 8u111 | Anton Litvinov | P2 | Resolved | Fixed | b01 |
JDK-8148173 | 8u102 | Anton Litvinov | P2 | Closed | Fixed | b01 |
JDK-8162146 | emb-8u111 | Anton Litvinov | P2 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
JDK 9 b102, JDK 8u51 b16
ADDITIONAL OS VERSION INFORMATION :
Linux OS
A DESCRIPTION OF THE PROBLEM :
When AWT panel with AWT components, for example "java.awt.Button", is removed from AWT frame and added again to the same frame, then sporadically 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.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run the test case attached as the file "ComponentIsNotDrawnAfterRemoveAddTest.java".
2. The bug is reproduced, if the test case throws the exception with the message "'paint' method of N components was not called.".
JDK 9 b102, JDK 8u51 b16
ADDITIONAL OS VERSION INFORMATION :
Linux OS
A DESCRIPTION OF THE PROBLEM :
When AWT panel with AWT components, for example "java.awt.Button", is removed from AWT frame and added again to the same frame, then sporadically 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.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Compile and run the test case attached as the file "ComponentIsNotDrawnAfterRemoveAddTest.java".
2. The bug is reproduced, if the test case throws the exception with the message "'paint' method of N components was not called.".
- backported by
-
JDK-8156307 AWT components are not drawn after removal and addition to a container
- Resolved
-
JDK-8162146 AWT components are not drawn after removal and addition to a container
- Resolved
-
JDK-8148173 AWT components are not drawn after removal and addition to a container
- Closed