🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19339

Re: Order in which fields are viewed?

#19339
From: Conrad Hoesle-Kienzlen
Date: Thu, 12 Feb 1998 00:00
25 lines
1578 bytes
Walter,
the tab-order is the order in which the fields are added to the parent
component (*not* the order in which they are created in the declaration
section!).
If you want to change that order, you have to move them manually by
cut-and-paste in the jBinit() method.
...Conrad

Walter Draffin wrote:

> I have used Access and other languages that have the component variable
> called tab order in which you can tell which field you want it to go to
> after you finish with the current field.  Is there something like this
> in Java?  What I am trying to accomplish is once I type in the
> information in a field and press ENTER I want it to automatically go to
> the next field.  I know I can do this by setting up a KEY_EVENT test to
> see if the ENTER key was pressed and then using the requestFocus() on
> every field, but this seems like an unnecessary large amount of code for
>
> the amount of fields I am going to have.  Is there a better way?
>
> Thanks in Advance,
> Walter Draffin
> Telegraph New Technologies
Technical Details
Message-ID: <34E22E40.BCEAB7EB@csi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34E1F38E.F2F9A9DA@telegraph.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,27662df56eb6eb17
X-Google-Attributes: gidf74b3,public
From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com>
Subject: Re: Order in which fields are viewed?
Date: 1998/02/12
Message-ID: <34E22E40.BCEAB7EB@csi.com>
X-Deja-AN: 324262648
Content-Transfer-Encoding: 7bit
References: <34E1F38E.F2F9A9DA@telegraph.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: CHK IT-Consulting
Newsgroups: borland.public.jbuilder.java.language