AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Focus problem under Linux?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
Knute Johnson
Guest





PostPosted: Thu May 03, 2007 7:10 am    Post subject: Focus problem under Linux? Reply with quote



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





PostPosted: Fri May 04, 2007 11:23 pm    Post subject: Re: Focus problem under Linux? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.