-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 5.0
-
b51
-
x86
-
windows_xp
-
Verified
I am pushing a frame to fullscreen mode by calling gd.setFullScreenWindow(frame). When the frame appears in fullscreen mode, I am disposing the frame. When I try to bring the same frame instance to fullscreen mode again after it is disposed, nothing is happening. Actually no check has been made at the time of dispose, whether the frame that is getting disposed is in in fullscreen mode or not. gd.getFullScreenWindow() continues to return the same frame instance even when the frame has been disposed already. This is noticed right from JDK1.4 on WinXP. This works fine on Solaris.
I have attached a sample code. Execute the sample code. You would see a frame (Frame1) with a button. Click on the button. A frame would appear in fullscreen mode and it will have a button. Click on the button. The fullscreen mode frame will be disposed. Now click on the button on Frame1. If the fullscreen frame does not appear, the bug is reproduced.
I have attached a sample code. Execute the sample code. You would see a frame (Frame1) with a button. Click on the button. A frame would appear in fullscreen mode and it will have a button. Click on the button. The fullscreen mode frame will be disposed. Now click on the button on Frame1. If the fullscreen frame does not appear, the bug is reproduced.
- duplicates
-
JDK-5034650 REG:calling setFullScreenWindow(dlg) pushes it's parent frame to fullscreen mode
-
- Closed
-