-
Bug
-
Resolution: Fixed
-
P3
-
6u10
I am creating a JFrame and adding a JComponent to it. I have extended from JComponent and has overridden processComponentEvent() so as to get COMPONENT_RESIZED event to recreate the back-buffer according to the new size of the frame. When I run this test on 6u10, the JComponent is not getting the COMPONENT_RESIZED event when the display mode is changed for the parent JFrame.
I reproduced this on WinXP, WinVista with ATI as well as Nvidia video boards, with 6u10 b09. This is not reproducible on earlier releases of JDK6+, Not reproducible with D3D pipeline on JDK6-FCS. Hence this is a regression in jdk6-u10.
I have attached a sample test. Execute the sample test and check whether COMPONENT RESIZED message is printed on the console. Or alternatively, check whether the contents of the frame are resized to the screen size when the display mode changes. If not, the bug is reproduced.
I reproduced this on WinXP, WinVista with ATI as well as Nvidia video boards, with 6u10 b09. This is not reproducible on earlier releases of JDK6+, Not reproducible with D3D pipeline on JDK6-FCS. Hence this is a regression in jdk6-u10.
I have attached a sample test. Execute the sample test and check whether COMPONENT RESIZED message is printed on the console. Or alternatively, check whether the contents of the frame are resized to the screen size when the display mode changes. If not, the bug is reproduced.