Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: "Roedy Green" Subject: Re: JComboBox with IDentifiers Message-ID: <502BE721.56847.calajapr@time.synchro.net> X-Comment-To: All Newsgroups: comp.lang.java.programmer X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 57bfc70e Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 22 Date: Wed, 15 Aug 2012 18:36:33 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1345055793 69.21.70.65 (Wed, 15 Aug 2012 13:36:33 CDT) NNTP-Posting-Date: Wed, 15 Aug 2012 13:36:33 CDT Organization: tds.net X-Received-Bytes: 1757 Xref: csiph.com comp.lang.java.programmer:17900 From: Roedy Green On Fri, 10 Aug 2012 14:41:33 -0700 (PDT), Roberto Sagoleo 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