🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1505
From: Jacklondon Chen
Date: Tue, 16 Dec 2003 02:46
25 lines
1908 bytes
In swing, you can use setNextFocusableComponent to manual define tab order
one by one.  this can not do "visible" like Delphi.


"Jacklondon Chen" <jacklondon.chen@tom.com> д����Ϣ����
:3fdd1e08$1@newsgroups.borland.com...
> In java , there is no "tab order", and the tab order in windows for java
> application is same as the same order the component added to the
container.
>
> Jackloncon Chen
>
> "Nechama Shuchatowitz" <nshuch@teamgenesis.com> ��  ?
> :3f16f5de@newsgroups.borland.com...
> > How would I set the tab button to move the focus from one component to
the
> > next?
> > Also, how would I set a JButton to be 'pressed' when the enter button is
> > pressed?
> >
> > Thanks!
> >
> >
>
>
Technical Details
Message-ID: <3fde7202@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!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f16f5de@newsgroups.borland.com> <3fdd1e08$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,acbd4777951a7e2c
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-15 19:09:44 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>
Subject: Re: how to set tab button to move focus between components
Date: Tue, 16 Dec 2003 10:46:54 +0800
Lines: 27
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: <3fde7202@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071542786 210.22.158.131 (15 Dec 2003 18:46:26 -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!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail