🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Clearing JComboBox

#12577
From: Jason Burton
Date: Wed, 09 Dec 1998 00:00
8 lines
787 bytes
Is there any way to clear the selection in a JComboBox.  All implementations
of combo boxes (including the JBCL JChoiceControl), have some sort of
method, such as selecting the item at -1, of clearing the combo box display.
Doing this in the JCombo gives you a index out of bounds?  Is there another
way to do it?

Thanks,
Jason Burton
Technical Details
Message-ID: <74mv3l$cr16@forums.borland.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,ec8a683ee338c939,start
X-Google-Attributes: gid111d45,public
From: "Jason Burton" <jasonb@tmscorp.com>
Subject: Clearing JComboBox
Date: 1998/12/09
Message-ID: <74mv3l$cr16@forums.borland.com>
X-Deja-AN: 420600516
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Newsgroups: borland.public.jbuilder.java.swing