Re: JComboBox with IDentifiers

Discussion in 'Java' started by Roedy Green, Aug 15, 2012.

  1. Roedy Green

    Roedy Green Guest

    From: "Roedy Green" <roedy.green@1:261/38.remove-z1z-this>

    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

    --- 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
    Roedy Green, Aug 15, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    351
    Roedy Green
    Apr 22, 2008
  2. Roberto Sagoleo

    JComboBox with IDentifiers

    Roberto Sagoleo, Aug 10, 2012, in forum: Java
    Replies:
    8
    Views:
    380
    Sax@DIST
    Aug 22, 2012
  3. markspace

    Re: JComboBox with IDentifiers

    markspace, Aug 11, 2012, in forum: Java
    Replies:
    0
    Views:
    220
    markspace
    Aug 11, 2012
  4. Lew
    Replies:
    0
    Views:
    222
  5. -nlb-this

    Re: JComboBox with IDentifiers

    -nlb-this, Aug 13, 2012, in forum: Java
    Replies:
    3
    Views:
    290
    Daniele Futtorovic
    Aug 13, 2012
Loading...

Share This Page