I've got a JApplet that is having a focus problem. The URL is
http://www.knutejohnson.com/chat.html. After you hit the 'Connect'
button and enter a handle the focus should transfer to the outgoing
message JTextField. This works fine under Winblows but under Fedora 7
and Mozilla or Ubuntu and Mozilla focus cannot be given to the
JTextField. If you minimize/maximize the window though it works fine.
The source code is available on the page. I've tried to make an SSCCE
to duplicate the problem but I can't get it to fail. Any ideas would be
greatly appreciated.
Thanks,

Signature
Knute Johnson
email s/nospam/knute/
>I've got a JApplet that is having a focus problem.
Applets, browser VM's, focus (shudder).
You have your work cut out, getting focus to work
in a consistent and sensible way in an x-plat,
x-browser manner.
..
>..This works fine under Winblows but under Fedora 7
>and Mozilla or Ubuntu and Mozilla focus cannot be given to the
>JTextField. If you minimize/maximize the window though it works fine.
>The source code is available on the page. I've tried to make an SSCCE
>to duplicate the problem but I can't get it to fail.
I only have Windows to test on, and while I failed
to see the problem in Mozilla and IE, I failed to see
the *applet* (at all) in Opera - it said 'Loading applet..'
and did not report errors, but the applet never appeared.
>.. Any ideas would be greatly appreciated.
Launch the applet using web start, to get a more
reliable and predictable focus environment.

Signature
Andrew Thompson
http://www.athompson.info/andrew/