🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11368

Re: set focus

#11368
From: Gavster McRavster
Date: Thu, 03 Jun 1999 00:00
16 lines
1146 bytes
an idea would be to try testing whether the component can actually request
focus (with xxxxxx.isRequestFocusEnabled())
and if not then to set this to true



Yasser Sheriff <ymsherif@cs.twsu.edu> wrote in message
news:37545A02.F9611E54@cs.twsu.edu...
> I am trying to set the focus to a Jtestfield on my application as soon
> as it opens. I tried requestFocus(), but that dosn't work. Is there
> another way of doing this.
>
> thanks
> yasser
>
>
Technical Details
Message-ID: <928421851.21546.0.nnrp-11.c1c3e175@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37545A02.F9611E54@cs.twsu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8ef6f9b486e22725
X-Google-Attributes: gid111d45,public
From: "Gavster McRavster" <gavinc@demon.net>
Subject: Re: set focus
Date: 1999/06/03
Message-ID: <928421851.21546.0.nnrp-11.c1c3e175@news.demon.co.uk>
X-Deja-AN: 485281787
X-NNTP-Posting-Host: gavinc.eng.demon.net:193.195.225.117
References: <37545A02.F9611E54@cs.twsu.edu>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 928421851 nnrp-11:21546 NO-IDENT gavinc.eng.demon.net:193.195.225.117
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing