Article View: borland.public.jbuilder.java.swing
Article #12581Re: Clearing JComboBox
From: Steve Waters
Date: Thu, 10 Dec 1998 00:00
Date: Thu, 10 Dec 1998 00:00
17 lines
1115 bytes
1115 bytes
yes, create a data model for this item, use this to popolate the model, and change its contents, when you have cleared it or updated it use the fireconents changed. Steve Jason Burton wrote: > 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:
<366F6143.54152E8@bellsouth.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<74mv3l$cr16@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,ec8a683ee338c939 X-Google-Attributes: gid111d45,public From: Steve Waters <steve_w@bellsouth.net> Subject: Re: Clearing JComboBox Date: 1998/12/10 Message-ID: <366F6143.54152E8@bellsouth.net> X-Deja-AN: 420708808 Content-Transfer-Encoding: 7bit References: <74mv3l$cr16@forums.borland.com> 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