Article View: borland.public.jbuilder.java.swing
Article #10897Re: JComboBox & JTable
From: Chuck Baldi
Date: Wed, 04 Aug 1999 00:00
Date: Wed, 04 Aug 1999 00:00
21 lines
1363 bytes
1363 bytes
Redding Bacon wrote: > > Hey JBuilder, > > I'm using JB3 and Java2 to develop applets. This is a 2 part question > > 1. JComboBox. We have an applet that display records one at a time. One > of the UI components in that applet is a JComboBox. When this applet is not > in "Edit Mode" and is displaying a record, the JComboBox only has one Item > in the drop down list. When the applet navigates to the next record it must > remove what was in the JComboBox and then add its own item ( ie., > JComboBox.addItem( new item);). The problem is that I can't figure out how > to remove the old Item from the JCombo before entering the new one. Anybody > know how I should do this? > JComboBox.removeitem( oldItem ) I don't know about your second question.
Technical Details
Message-ID:
<37A84BBE.B560CB43@didax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7n4s51$kc64@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,dddc12039551ba10 X-Google-Attributes: gid111d45,public From: Chuck Baldi <cbaldi@didax.com> Subject: Re: JComboBox & JTable Date: 1999/08/04 Message-ID: <37A84BBE.B560CB43@didax.com> X-Deja-AN: 508781631 Content-Transfer-Encoding: 7bit References: <7n4s51$kc64@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: cbaldi@christcom.net Newsgroups: borland.public.jbuilder.java.swing