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


Groups > comp.lang.java.gui > #2399 > unrolled thread

forcing focus on a JCompo

Started by"Wills" <wills@THRWHITE.remove-dii-this>
First post2011-04-27 15:38 +0000
Last post2011-04-27 15:39 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  forcing focus on a JCompo "Wills" <wills@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: forcing focus on a JC "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: forcing focus on a JC "Wills" <wills@THRWHITE.remove-dii-this> - 2011-04-27 15:39 +0000

#2399 — forcing focus on a JCompo

From"Wills" <wills@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
Subjectforcing focus on a JCompo
Message-ID<1189224079.210357.286700@57g2000hsv.googlegroups.com>
  To: comp.lang.java.gui
Hi all,
 I tried JButton.requestFocus() in a Panel to get the focus on the
button every time I opened the panel.  It is not working.  How to
force the focus traversal only to the keys that we want. I am using
 jdk1.6, Win98.

Thanks in advance.

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

[toc] | [next] | [standalone]


#2400 — Re: forcing focus on a JC

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:38 +0000
SubjectRe: forcing focus on a JC
Message-ID<47c4e3tms230mqsaa7r1p8ag1shdoj0547@4ax.com>
In reply to#2399
  To: comp.lang.java.gui
On Fri, 07 Sep 2007 21:01:19 -0700, Wills
<wills.kingspanama@gmail.com> wrote, quoted or indirectly quoted
someone who said :

> I tried JButton.requestFocus() in a Panel to get the focus on the
>button every time I opened the panel.  It is not working.  How to
>force the focus traversal only to the keys that we want. I am using
> jdk1.6, Win98.

see http://mindprod.com/jgloss/focus.html
It will show you how to set up a FocusTraversalPolicy that defines the
tab order.
-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

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

[toc] | [prev] | [next] | [standalone]


#2434 — Re: forcing focus on a JC

From"Wills" <wills@THRWHITE.remove-dii-this>
Date2011-04-27 15:39 +0000
SubjectRe: forcing focus on a JC
Message-ID<1189753175.416099.160080@r29g2000hsg.googlegroups.com>
In reply to#2400
  To: comp.lang.java.gui
O
> seehttp://mindprod.com/jgloss/focus.html
> It will show you how to set up a FocusTraversalPolicy that defines the
> tab order.
> --
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com

Wonderful.

Thanks.

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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web