🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to control focus ?

#9532
From: Helene Lund
Date: Thu, 09 Mar 2000 00:00
10 lines
902 bytes
Petr Kozelka <pkozelka@email.cz> wrote in message

> How can I programmatically set focus to a specific control, for example
> JTextField, inside a JDialog ?

Use the function
requestFocus()

-H
Technical Details
Message-ID: <18Ox4.10473$6b1.174783@news1.online.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8a88dp$f6f1@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,2109ba7cebc5f96e
X-Google-Attributes: gid111d45,public
From: "Helene Lund" <hl@inn.no>
Subject: Re: how to control focus ?
Date: 2000/03/09
Message-ID: <18Ox4.10473$6b1.174783@news1.online.no>
X-Deja-AN: 595162705
References: <8a88dp$f6f1@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: news-abuse@online.no
X-Trace: news1.online.no 952610429 193.214.28.5 (Thu, 09 Mar 2000 15:00:29 MET)
Organization: Telenor Online Public Access
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 09 Mar 2000 15:00:29 MET
Newsgroups: borland.public.jbuilder.java.swing