How to always focus on the JFrame
843807Jan 8 2010 — edited Jan 8 2010Hi,
I have a JFrame which implements KeyListenter to wait for keyboard listener. It seems to be working nicely, But when I click another button or textfield. It kinds of lose focus in that JFrame. I have to use requestFocus at the end of the code everytime. Is there any way to always get back to JFrame everytime automatically?