-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b53
-
generic, x86
-
windows_xp
-
Verified
I am showing a JDialog / JOptionPane with a button and the parent of this dialog is not visible (equivalent to using 'null' in JOptionPane.showMessageDialog(null, "message dialog with invisible parent")). When the dialog is shown on the screen, the focus is not given to the button located in the dialog. Instead the dialog retains the focus and one has to press 'TAB' to bring the focus to the component.
This is noticed only on the following PIT build and only on win32 platform. Not reproducible on Mustang-b21.
java version "awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b20, mixed mode)
I have attached a couple of sample tests. Execute them on WinXP with the above PIT build. You would typically see a dialog with a button. If the button does not gain focus automatically, the bug is reproduced.
###@###.### 2005-2-04 12:37:39 GMT
This is noticed only on the following PIT build and only on win32 platform. Not reproducible on Mustang-b21.
java version "awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2005-01-26-Wed-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b20, mixed mode)
I have attached a couple of sample tests. Execute them on WinXP with the above PIT build. You would typically see a dialog with a button. If the button does not gain focus automatically, the bug is reproduced.
###@###.### 2005-2-04 12:37:39 GMT
- duplicates
-
JDK-6278250 No Focus on JTabbedPane on Windows
-
- Closed
-
- relates to
-
JDK-6243443 Focus is missing in javacontrolpanel
-
- Closed
-
-
JDK-2129524 All editable fields get frozen.
-
- Resolved
-