I need when I click on any button in my application the focus will return to JFrame
. Is there any method for this?
I could call the MeuFrame.requestFocus()
method on every ActionPerformed
, but this would take a long time.