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.".
|