A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Focus traversal in applet different from MacOSX on Windows, Linux systems.
Joined: Apr 23, 2012
Jun 15, 2012 08:36:55
As a jar file my application moves focus via tab and CTRL tab keys on all systems. It moves the focus as intended as an
on MacOS. (Strange: moving from the default button takes two tabs.)
When used as an applet, the results are incorrect on Windows on Linux. They differ between Windows on Linux.
On Linux the focus traverses normally until it reaches the starting point, the default button, then apparently moves to the browser or a higher window.
On Windows, the focus doesn't exist anywhere until a component is clicked, focus then moves normally.
I'm doing a requestFocusInWindow for the
holding the components. And the focus moves correctly when the app is run as a jar file on all systems.
I agree. Here's the link:
subject: Focus traversal in applet different from MacOSX on Windows, Linux systems.
how to deploy a Swing Applet that accesses the System Clipboard
applet not display in RHL firefox3
Distributing apps as jar files
client properties of JRootPane
Need help to create an .sh or .bin file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014