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: "Fred Kleinschmidt" Subject: Re: Efficient way to capt Message-ID: X-Comment-To: comp.lang.java.gui,comp.l Newsgroups: comp.lang.java.gui In-Reply-To: <1171249260.891333.276690@j27g2000cwj.googlegroups.com> References: <1171249260.891333.276690@j27g2000cwj.googlegroups.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 41 Date: Wed, 27 Apr 2011 15:30:18 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918218 96.60.20.240 (Wed, 27 Apr 2011 10:30:18 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:30:18 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:912 To: comp.lang.java.gui,comp.l "Timasmith" wrote in message news:1171249260.891333.276690@j27g2000cwj.googlegroups.com... > Hi, > > I have a frame with several splitpanes or panels. In general those > are navigation orientated - tab, arrow up, arrow down, click etc. > > Whenever a user starts typing letters I want to place focus into a > particular (default) field. Of course if you are already in a text > field I would ignore it. > > What is the most efficient way to do this without bogging down every > keystroke with overhead? > > thanks > > Tim > I think you need to clarify (to yourself and to us) what you really mean to accomplish. The user is navigating around for a purpose - usually to get the focus to a particular field. You are going to cause the user a lot of grief if she then starts typing, only to have the text go into a different field than she has just navigated to. So she clicks in the desired field and then starts typing. But no! you said that when she starts typing letters, the input goes to the default field, not the one she is trying to type into! She tries again, and again to no avail. Now she is really angry, and finally just discards the entire app and goes to a different vendor. -- Fred L. Kleinschmidt Boeing Associate Technical Fellow Technical Architect, Software Reuse Project --- * 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