This content has been marked as final. Show 3 replies
993277 wrote:That's an incomplete bug report, not a question. This is a forum, not a bug tracking system. Try bugs.sun.com. And you may want to include a small sample program in the bug report that demonstrates the problem.
Recently I upgraded my Application with Java 1.7 (using jdk-7u17-windows-i586) from java 1.6. Swing component JTextfeilds used to get focus when using java1.6. But after up-gradation to Java 1.7 in few scenarios JTextFeild is not getting focus and I am unable to do any thing with keyboard. Again I have to click on some button with Mouse and need to keep focus using mouse in the textfeild.
OS : Windows
Used Java Version : jdk-7u17-windows-i586
Issue : JTextFeild is not getting focus
It does look like a related bug has been posted:
7147075 : JTextField doesn't get focus or loses focus forever
The bug report has a complete test case and states that it happens only w/ ICE wm but it seems to happen with Xming and Cywin-x using the default window manager. Using the Motif WM in rootless mode seems to work w/ Cygwin-X but no other WMs
Does anyone know of the cause or workaround or any other relevant context?