Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4852
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Novice <novice@example..com> |
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Debugging Focus problem |
| Date | Thu, 22 Dec 2011 22:45:10 +0000 (UTC) |
| Organization | Your Company |
| Lines | 15 |
| Message-ID | <Xns9FC3B54E7596Fjpnasty@94.75.214.39> (permalink) |
| References | <Xns9FC3ACBF370B4jpnasty@94.75.214.39> <jd09jv$adb$1@dont-email.me> |
| NNTP-Posting-Host | JpLK8fltooGzFIy4LlqxrQ.user.speranza.aioe.org |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Xnews/5.04.25 |
| X-Antivirus-Status | Clean |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Antivirus | avast! (VPS 111222-0, 2011-12-22), Outbound message |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4852 |
Show key headers only | View raw
Jeff Higgins <jeff@invalid.invalid> wrote in news:jd09jv$adb$1@dont- email.me: > http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html I changed my requestFocus() to requestFocusInWindow() and it still didn't work; the System.out.println still indicated that the focus was on "null". But when I added the window focus listener suggested in the article you cited, it started setting the focus where I wanted it. Thanks for your help! -- Novice
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Debugging Focus problem Novice <novice@example..com> - 2011-12-22 21:54 +0000
Re: Debugging Focus problem Jeff Higgins <jeff@invalid.invalid> - 2011-12-22 17:10 -0500
Re: Debugging Focus problem Novice <novice@example..com> - 2011-12-22 22:45 +0000
Re: Debugging Focus problem Roedy Green <see_website@mindprod.com.invalid> - 2011-12-22 19:54 -0800
csiph-web