🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1383

Re: how to set tab button to move focus between components

#1383
From: Jacklondon Chen
Date: Thu, 18 Dec 2003 02:24
36 lines
2239 bytes
You can use DefaultFocusTraversalPolicy, but I don't like it.
This make simple thing complex.


"Lori M Olson (TeamB)" <javadragon@techie.com>
??????:3fdf34ef$1@newsgroups.borland.com...
> Jacklondon Chen wrote:
>
> > In swing, you can use setNextFocusableComponent to manual define tab
order
> > one by one.  this can not do "visible" like Delphi.
> >
>
> No, you certainly do NOT use setNextFocusableComponent any more.  It's
> been deprecated since JDK 1.4 was released, so you should not be using
> it in new code, and you should be replacing it in old code.
>
> --
>
> Regards,
>
> Lori Olson (TeamB)
>
> ------------
>
> Save yourself, and everyone else, some time and search the
> newsgroups and the FAQ-O-Matic before posting your next
> question.
>
> Google Advanced Newsgroup Search
>      http://www.google.ca/advanced_group_search
> Other Newsgroup Searches:
>      http://www.borland.com/newsgroups/ngsearch.html
> Joi Ellis's FAQ-O-Matic:
>      http://www.visi.com/~gyles19/fom-serve/cache/1.html
>
Technical Details
Message-ID: <3fe10fa8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f16f5de@newsgroups.borland.com> <3fdd1e08$1@newsgroups.borland.com> <3fde7202@newsgroups.borland.com> <3fdf34ef$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,acbd4777951a7e2c
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-17 18:37:28 PST
Reply-To: "Jacklondon Chen" <jacklondon.chen@tom.com>
From: "Jacklondon Chen" <jacklondon.chen@tom.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3f16f5de@newsgroups.borland.com> <3fdd1e08$1@newsgroups.borland.com> <3fde7202@newsgroups.borland.com> <3fdf34ef$1@newsgroups.borland.com>
Subject: Re: how to set tab button to move focus between components
Date: Thu, 18 Dec 2003 10:24:06 +0800
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 210.22.158.131
Message-ID: <3fe10fa8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071714216 210.22.158.131 (17 Dec 2003 18:23:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!in.100proofnews.com!in.100proofnews.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail