Prev: Call for Papers: The 2010 International Conference of Computer Science and Engineering (ICCSE 2010)
Next: Add *.jars to *.jars possible/recommendend? Eclipse setup for this?
From: JKW on 3 Feb 2010 05:48 Hello - I'm using CardLayout to edit few cards of information. Unfortunatelly there is problem - when I show next card - text box on next card don't receives focus automaticaly. Calling requestFocusInWindow method does not work to. Could you help me. Regards Jacek
From: RedGrittyBrick on 3 Feb 2010 06:18 JKW wrote: > Hello - I'm using CardLayout to edit few cards of information. > Unfortunatelly there is problem - when I show next card - text box on next > card don't receives focus automaticaly. Calling requestFocusInWindow method > does not work to. It should. It usually helps to post a small compilable example that illustrates your problem. http://sscce.org > Could you help me. Please don't multipost, crosspost instead. Ideally use one newsgroup. http://www.blakjak.demon.co.uk/mul_crss.htm http://www.cs.tut.fi/~jkorpela/usenet/xpost.html When are you calling requestFocusInWindow()?
From: JKW on 3 Feb 2010 10:56 Thank you for your answer. 1. Sorry for multipost. I tried to get help from group comp.lang.java.gui and nobody even tried to help me. So now I tried to get help from two groups at the same time. 2. During process of preparing snippet of code to write it to group (translating it, concentrate the most important elements at the same place and so on) - I changed something - and system works properly (I don't know what mistakes I had). Once again thank for trying to help me. Regards Jacek Użytkownik "RedGrittyBrick" <RedGrittyBrick(a)spamweary.invalid> napisał w wiadomości news:4b695b69$0$2474$db0fefd9(a)news.zen.co.uk... > JKW wrote: >> Hello - I'm using CardLayout to edit few cards of information. >> Unfortunatelly there is problem - when I show next card - text box on >> next >> card don't receives focus automaticaly. Calling requestFocusInWindow >> method >> does not work to. > > It should. > > It usually helps to post a small compilable example that illustrates your > problem. http://sscce.org > >> Could you help me. > > Please don't multipost, crosspost instead. Ideally use one newsgroup. > http://www.blakjak.demon.co.uk/mul_crss.htm > http://www.cs.tut.fi/~jkorpela/usenet/xpost.html > > When are you calling requestFocusInWindow()?
From: John B. Matthews on 3 Feb 2010 14:35
In article <hkc6tt$5jf$1(a)nemesis.news.neostrada.pl>, "JKW" <jacek.kwasek(a)wp.pl> wrote: > I tried to get help from group comp.lang.java.gui > and nobody even tried to help me. Possibly, you overlooked my response there: <http://groups.google.com/group/comp.lang.java.gui/browse_frm/thread/577f46430644bb7> > (I don't know what mistakes I had) I would welcome your follow-up if anything becomes apparent. As RGB suggested, an <http://sscce.org> is invaluable in tracking such thing down. -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews> |