🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Multi List JComboBox

#7914
From: LMD
Date: Mon, 27 Nov 2000 00:00
26 lines
950 bytes
Hi all

I'm trying to create a Jcombo box that has two lists of strings, I
can't seem to find any way to have my combobox display a list of two
things.
ie when you drop down your combo box it would list as follows for a
country list

1 |  USA
2 |  CANADA
3 |  ARGENTINA
4 |  CAMBODIA

etc etc 

were the numbers are one list and the  names are another 
Is there a way to do this?  This is common functionality of combo
boxes out side of java, am I missing something simple?


any help would be great thanks


ldavis@pangaeainc.com

LMD.
Technical Details
Message-ID: <3a22b86c.16897337@newsgroups.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,362d563551410cf7,start
X-Google-Attributes: gid111d45,public
From: ldavis@pangaea.ca (LMD)
Subject: Multi List JComboBox
Date: 2000/11/27
Message-ID: <3a22b86c.16897337@newsgroups.borland.com>
X-Deja-AN: 698357085
X-Trace: 27 Nov 2000 11:42:26 -0800, 209.91.97.159
Newsgroups: borland.public.jbuilder.java.swing