🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Order in which fields are viewed?

#19331
From: Walter Draffin
Date: Wed, 11 Feb 1998 00:00
15 lines
1180 bytes
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: <34E1F38E.F2F9A9DA@telegraph.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,27662df56eb6eb17,start
X-Google-Attributes: gidf74b3,public
From: Walter Draffin <draffin@telegraph.net>
Subject: Order in which fields are viewed?
Date: 1998/02/11
Message-ID: <34E1F38E.F2F9A9DA@telegraph.net>
X-Deja-AN: 324188400
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language