🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: setting focus

#19327
From: Tad Frysinger
Date: Wed, 11 Feb 1998 00:00
15 lines
929 bytes
In article <34E1B25A.29FE9461@telegraph.net>, draffin@telegraph.net 
says...
> I start my applet and I want to set the focus to the first field on the
> screen where the end user can just start typing with out having to click
> anywhere.  How do I set the focus?  I know in other languages it is the
> field name and then .setfocus.  Is there something comparable to that in
> java?
> 
> Thank you in Advance,
> Walter Draffin
> Telegraph New Technologies
> 
> 
try requestFocus().
Technical Details
Message-ID: <MPG.f4b6a86ee0e473c989780@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34E1B25A.29FE9461@telegraph.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b2bc7696643ec7fd
X-Google-Attributes: gidf74b3,public
From: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Re: setting focus
Date: 1998/02/11
Message-ID: <MPG.f4b6a86ee0e473c989780@forums.borland.com>
X-Deja-AN: 324129448
References: <34E1B25A.29FE9461@telegraph.net>
Organization: FreeZone Enterprises
Newsgroups: borland.public.jbuilder.java.language