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.