 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Knute Johnson Guest
|
Posted: Thu May 03, 2007 7:10 am Post subject: Focus problem under Linux? |
|
|
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,
--
Knute Johnson
email s/nospam/knute/ |
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Fri May 04, 2007 11:23 pm Post subject: Re: Focus problem under Linux? |
|
|
Knute Johnson wrote:
| Quote: | 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.
..
| Quote: | ..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.
| Quote: | .. Any ideas would be greatly appreciated.
|
Launch the applet using web start, to get a more
reliable and predictable focus environment.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200705/1 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|