Article View: borland.public.jbuilder.java.swing
Article #8895Re: isManagingFocus
From: Paul Furbacher [TeamB]
Date: Wed, 21 Jun 2000 00:00
Date: Wed, 21 Jun 2000 00:00
21 lines
1097 bytes
1097 bytes
Greg wrote:
> how do I use this (as overiding method) in a JTextField?
>
> I've tried:
> myTextField.isManagingFocus() {
> return true;
> }
>
> however, it doesn't work.
Typically, only "compound" components (e.g., panels with UI
elements nested in them) manage focus. JTextField is not
such a beast, so it's a bit unusual to have it manage its
own focus -- there are no focusable elements nested in it,
thus there's nothing to manage.
What problem are you attempting to solve?
Paul Furbacher (TeamB)
Technical Details
Message-ID:
<39516A4B.67F4EB07@home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8irnuk$17u1@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,be5c51300500837a X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pnf@home.com> Subject: Re: isManagingFocus Date: 2000/06/21 Message-ID: <39516A4B.67F4EB07@home.com> X-Deja-AN: 637448589 Content-Transfer-Encoding: 7bit References: <8irnuk$17u1@bornews.borland.com> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pnf@home.com Newsgroups: borland.public.jbuilder.java.swing