I'm having a Focus issue when running a Swing application.
There are 4 buttons visible on the JApplet.
I have an implementation that allows the user to make keyboard and mouse events in the JApplet.
The problem is that I can use the keyboard and mouse events when the program first starts, but the moment I click a button the focus is lost and the JApplet can no longer receive keyboard events.
What I'd like is a solution on how to reobtain the focus or somehow create a managed thread that will constantly re-focus the JApplet (or the contentpane) such that it will receive keyboard events from the user.
Thanks,
-Alex.