Article View: borland.public.jbuilder.java.swing
Article #12459Re: Swnig components
From: Tor Iver Wilhelmsen
Date: Wed, 06 Jan 1999 00:00
Date: Wed, 06 Jan 1999 00:00
12 lines
988 bytes
988 bytes
"Tarryn Smith" <tarryn.smith@spl.co.za> writes: > Hello, > I'm doing a project in java using jbuilder and I used a swing > component "jcombobox" to add my drop down list's items. > Problem is I can't seem to add items to the jcombobox, > Its is currently standing empty and i need to find out how to add > items to my drop down box. Write a class implementing the ComboBoxModel interface, and make an instance that you set as the model property of the JComboBox. Populate the model and you will populate the list as well.
Technical Details
Message-ID:
<uogocdc5o.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<76uv0m$cdn3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,445d9156cae468a7 X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: Swnig components Date: 1999/01/06 Message-ID: <uogocdc5o.fsf@sds.no> X-Deja-AN: 429341220 Sender: towi@SDSA1761 References: <76uv0m$cdn3@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing