-
Bug
-
Resolution: Fixed
-
P1
-
1.4.1, 1.4.1_01
-
None
-
02
-
x86, sparc
-
linux, solaris_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2108063 | 1.4.2 | Denis Mikhalkin | P1 | Resolved | Fixed | mantis |
We have a JApplet with JPanel having JTabbedPanes. Within these JTabbedPane we have JTextField and JButton. Upon entering no data into the JTextField and
thereafter clicking the JButton, we are validating the data in the JTextField and showing the ERROR message using JOptionPane (a pop up window). If user clicks on "OK" option we loose the FOCUS. We even tried using requestFocus() methods to redirect the FOCUS. However, same code works with versions prior to JDK 1.4 with change in package name to make use of SWING 1.0.3 API.
Please untar the attached FocusBug.tar and follow the instructions in the README file to recreate the bug.
I have submitted a same bug via external site. The bug review id assigned to that is 165473. However, we have been asked to submit the bug via internal bugTraq for faster response and the because of the fact that there is no way to provide the sample programs once you submit the bug via external site till we get any response. Please look into it asap.
thereafter clicking the JButton, we are validating the data in the JTextField and showing the ERROR message using JOptionPane (a pop up window). If user clicks on "OK" option we loose the FOCUS. We even tried using requestFocus() methods to redirect the FOCUS. However, same code works with versions prior to JDK 1.4 with change in package name to make use of SWING 1.0.3 API.
Please untar the attached FocusBug.tar and follow the instructions in the README file to recreate the bug.
I have submitted a same bug via external site. The bug review id assigned to that is 165473. However, we have been asked to submit the bug via internal bugTraq for faster response and the because of the fact that there is no way to provide the sample programs once you submit the bug via external site till we get any response. Please look into it asap.
- backported by
-
JDK-2108063 Loosing Focus upon clicking button in pop up window.
-
- Resolved
-
- duplicates
-
JDK-4780597 JTextField does not allow input after a dialog has been brought on top of it
-
- Closed
-
-
JDK-4721269 Cannot get focus on JTextField after showing dialog box (NETSCAPE & KDE)
-
- Closed
-
- relates to
-
JDK-4877530 Unable to input text into JTextField in 1.4.1_02
-
- Resolved
-