🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

dissapearing caret in JTextField

#11792
From: luther.maloney
Date: Wed, 24 Mar 1999 00:00
10 lines
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-mail

Show 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