Article View: borland.public.jbuilder.java.language
Article #18384Re: Setting initial focus to a JTextField
From: Louisa Lo
Date: Mon, 06 Jul 1998 00:00
Date: Mon, 06 Jul 1998 00:00
12 lines
842 bytes
842 bytes
I changed the initial focus by moving part of the source code in init. I think the tab order is determined by the order that the objects (like textfield, combobox, checkbox) are added to the base panel/container (like frame, groupbox). I don't have any luck using requestFocus. Hope this help. Louisa Lo llo@mwd.dst.ca.us
Technical Details
Message-ID:
<6nr39f$f7a21@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6m3er6$3rj5@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4281a01fd744281c X-Google-Attributes: gidf74b3,public From: "Louisa Lo" <llo@mwd.dst.ca.us> Subject: Re: Setting initial focus to a JTextField Date: 1998/07/06 Message-ID: <6nr39f$f7a21@forums.borland.com> X-Deja-AN: 368961829 References: <6m3er6$3rj5@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language