🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JComboboxes

#9254
From: James Cook
Date: Thu, 04 May 2000 00:00
18 lines
1142 bytes
Hint: Don't work directly with the JComboBox, work with the ComboBoxModel,
then call JBcomboBox.setModel(ComboBoxModel). Your times will drop down to
milliseconds.

jim

Michael <mh@andrax.dk> wrote in message news:3911751C.6F1E2350@andrax.dk...
> Is there a way to fast copy all data from one JCombobox to another?
>
> The two comboboxes contains the same data, but (can) have different
> selected items.
>
> It p.t. takes about 15 sek to insert data into the first combobox with
> ~150 items (countries), and then another 18 sek to fill out 2 other
> comboboxes in a for loop.
>
> MH
>
Technical Details
Message-ID: <8escld$jmp5@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3911751C.6F1E2350@andrax.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,16d2e3d1f2d6e80e
X-Google-Attributes: gid111d45,public
From: "James Cook" <jimcook.remove.for.spam@iname.com>
Subject: Re: JComboboxes
Date: 2000/05/04
Message-ID: <8escld$jmp5@bornews.borland.com>
X-Deja-AN: 619231728
References: <3911751C.6F1E2350@andrax.dk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing