Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "John B. Matthews" Subject: Re: Keyboard focus gettin Message-ID: X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <48a68ca2$0$2196$ec3e2dad@news.usenetmonster.com> References: <48a68ca2$0$2196$ec3e2dad@news.usenetmonster.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 30 Date: Wed, 27 Apr 2011 15:48:11 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303919291 96.60.20.240 (Wed, 27 Apr 2011 10:48:11 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:48:11 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4008 To: comp.lang.java.gui In article <48a68ca2$0$2196$ec3e2dad@news.usenetmonster.com>, "Kenneth P. Turvey" wrote: > I have an applet that loads a component that uses any number of other > components internally. When it is first running the component gets the > KeyPressed events that I want it to, but then after doing anything with > the mouse, it no longer gets these events. I think that the focus must > be on one of the sub-components, but I don't know which one. I've tried > setting everything to not be focusable, but I must be missing something. [...] Might this be relevant: "In general, pressing the Tab key moves focus through the major components; Shift-Tab moves through the components in the reverse direction. Control-Tab and Control-Shift-Tab work in a similar fashion and are necessary when keyboard focus is in an element that accepts tabs, such as a text area." -- John B. Matthews trashgod at gmail dot com home dot woh dot rr dot com slash jbmatthews --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24