-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
6
-
sparc
-
solaris_10
At run time, when ever the user is necessary he like to resize the frame by calling frame(setResizable(false), if dn't need he would make the frame to non-resizable by calling setResizable(false). When i tried to do the same , focus is lost from the frame. Even i am requesting the focus on the components in the frame.
Step to reproduce
-----------------
1) Run the attached program.
2) You can see focus is on the first button "SetResize". clicking "SetResize" will allow the frame to resize & observe that focus will go to the second button "Remove Resize".
3) Clicking "Remove Resize" button will allow frame to non-resizable. Observe that focus is not on the frame. If you see the same, then the bug is reproduce.
You can repeat step 2 & 3 for 4 to 5 times.still you can see the same problem.
This happens on solaris, it works fine on windows.
This works fine in jdk 1.4.2. but fails from jdk1.5.0 fcs b64 ( the build that have) till jdk1.6.0 b105. So this a regression introduce in jdk1.5.0 .
Step to reproduce
-----------------
1) Run the attached program.
2) You can see focus is on the first button "SetResize". clicking "SetResize" will allow the frame to resize & observe that focus will go to the second button "Remove Resize".
3) Clicking "Remove Resize" button will allow frame to non-resizable. Observe that focus is not on the frame. If you see the same, then the bug is reproduce.
You can repeat step 2 & 3 for 4 to 5 times.still you can see the same problem.
This happens on solaris, it works fine on windows.
This works fine in jdk 1.4.2. but fails from jdk1.5.0 fcs b64 ( the build that have) till jdk1.6.0 b105. So this a regression introduce in jdk1.5.0 .
- relates to
-
JDK-6522731 Location of the frame changes,when the frame is resized & non-resized.
-
- Closed
-