Article View: borland.public.jbuilder.java.swing
Article #11792dissapearing caret in JTextField
From: luther.maloney
Date: Wed, 24 Mar 1999 00:00
Date: Wed, 24 Mar 1999 00:00
10 lines
892 bytes
892 bytes
I am using a JTextField to allow users to add text to a list box. When
the add button is clicked, the
text is added and the textField is cleared, but the caret mysteriously
dissapears. I am calling setText("") on the text field before
requestFocus(). Should i be calling requestDefaultFocus instead?
Any help will be appreciated
Luther
CallAtlanta, PFS
Technical Details
Message-ID:
<36F93123.42D6DC26@pfsfhq.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,40300ed69849c3e4,start X-Google-Attributes: gid111d45,public From: "luther.maloney" <luther.malony@pfsfhq.com> Subject: dissapearing caret in JTextField Date: 1999/03/24 Message-ID: <36F93123.42D6DC26@pfsfhq.com> X-Deja-AN: 458528885 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing