Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4008

Re: Keyboard focus gettin

From "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this>
Subject Re: Keyboard focus gettin
Message-ID <nospam-B387EB.22454816082008@aioe.org> (permalink)
Newsgroups comp.lang.java.gui
References <48a68ca2$0$2196$ec3e2dad@news.usenetmonster.com>
Date 2011-04-27 15:48 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
In article <48a68ca2$0$2196$ec3e2dad@news.usenetmonster.com>,
 "Kenneth P. Turvey" <kt-usenet@squeakydolphin.com> 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."

<http://java.sun.com/products/jlf/ed2/book/HIG.Behavior3.html>

-- 
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

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Keyboard focus getting lo "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Keyboard focus gettin "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Keyboard focus gettin "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Keyboard focus gettin "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
    Re: Keyboard focus gettin "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Keyboard focus gettin "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000

csiph-web