Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17900 > unrolled thread

Re: JComboBox with IDentifiers

Started by"Roedy Green" <roedy.green@1:261/38.remove-z1z-this>
First post2012-08-15 18:36 +0000
Last post2012-08-15 18:36 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.programmer


Contents

  Re: JComboBox with IDentifiers "Roedy Green" <roedy.green@1:261/38.remove-z1z-this> - 2012-08-15 18:36 +0000

#17900 — Re: JComboBox with IDentifiers

From"Roedy Green" <roedy.green@1:261/38.remove-z1z-this>
Date2012-08-15 18:36 +0000
SubjectRe: JComboBox with IDentifiers
Message-ID<502BE721.56847.calajapr@time.synchro.net>
From: Roedy Green <see_website@mindprod.com.invalid>

On Fri, 10 Aug 2012 14:41:33 -0700 (PDT), Roberto Sagoleo
<roberto.sagoleo@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I need to create a JComboBox containing a list of Items, each of which has its
own IDentifier!

see http://mindprod.com/jgloss/jcombobox.html for sample code.  I usually make 
each option an enum constant.
--
Roedy Green Canadian Mind Products http://mindprod.com A new scientific truth 
does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up 
that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web