Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2399 > unrolled thread
| Started by | "Wills" <wills@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:38 +0000 |
| Last post | 2011-04-27 15:39 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.java.gui
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
| From | "Wills" <wills@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | forcing 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]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: 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]
| From | "Wills" <wills@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:39 +0000 |
| Subject | Re: 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