🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Set focus to a component

#12224
From: Achim Luetje
Date: Mon, 01 Feb 1999 00:00
23 lines
821 bytes
Hallo all,

I want to set the focus to a special  component, e. g. a JTextField, in
a JFrame or JDialog in an Applet.

I try the method

jTextField1.requestFocus();

but it don't work.

Thanks for help

Achim

--
Achim L�tje
PPI Informationssysteme GmbH
Graumannsweg 54
D-22087 Hamburg
Tel.: +49(40)22743349
Fax:  +49(40)22743333
Mailto:al@ppi.de
Technical Details
Message-ID: <36B54737.9E5C3006@ppi.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,1cfa813af9a956ed,start
X-Google-Attributes: gid111d45,public
From: Achim Luetje <al@ppi.de>
Subject: Set focus to a component
Date: 1999/02/01
Message-ID: <36B54737.9E5C3006@ppi.de>
X-Deja-AN: 439271501
Content-Transfer-Encoding: 8bit
Organization: Pape+Partner GmbH
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing