🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do i give focus to a JTextField

#8736
From: John P. McGrath
Date: Wed, 26 Jul 2000 00:00
13 lines
866 bytes
On Tue, 25 Jul 2000 11:12:49 -0500, Joi Ellis wrote:

> Every widget which descends from Swing's JComponent has
> a method requestFocus().

That's true, but the requestFocus() method is defined in Component, so 
Swing is not actually required.  JComponent does provide its own 
implementation in order to interact with the Swing FocusManager,

-- 
Regards,

John McGrath
Technical Details
Message-ID: <MPG.13e83cf0ac5c2b0b989a72@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <397db1f1_2@dnews> <397DBC81.5C430AB5@aravox.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,65225accd507e734
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: How do i give focus to a JTextField
Date: 2000/07/26
Message-ID: <MPG.13e83cf0ac5c2b0b989a72@forums.borland.com>
X-Deja-AN: 650853462
References: <397db1f1_2@dnews> <397DBC81.5C430AB5@aravox.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing