🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to pre-set focus?

#15554
From: Mohith Rao
Date: Tue, 08 Jun 1999 00:00
11 lines
985 bytes
You can call requestFocus() on your TextField.

Vladimir D Bondarenko wrote in message <375D1261.5E9AE215@azot.com.by>...
>Hi there,
>
>I have a textField in a Panel added to a Frame.
>How can I ensure the textField has  focus on application start?
>(hands-off TAB key :-)).
>
> Thanks in advance
>
Technical Details
Message-ID: <7jjmof$6oe$1@mailint03.im.hou.compaq.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <375D1261.5E9AE215@azot.com.by>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,62eb93edf71a58c8
X-Google-Attributes: gidf74b3,public
From: "Mohith Rao" <Rao.Mohith@compaq.com>
Subject: Re: How to pre-set focus?
Date: 1999/06/08
Message-ID: <7jjmof$6oe$1@mailint03.im.hou.compaq.com>
X-Deja-AN: 487165080
References: <375D1261.5E9AE215@azot.com.by>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
X-Complaints-To: usenet@mailint03.im.hou.compaq.com
X-Trace: mailint03.im.hou.compaq.com 928865871 6926 172.18.100.18 (8 Jun 1999 18:17:51 GMT)
Organization: Compaq Computer Corp.
NNTP-Posting-Date: 8 Jun 1999 18:17:51 GMT
Newsgroups: borland.public.jbuilder.java.language