JComboBox ComboBoxRenderer Request for Assistance

Discussion in 'Java' started by pitoniakm@msn.com, Aug 29, 2005.

  1. Guest

    greetings,

    I would like to have a jComboBox on my toolbar that displays only a
    icon for any selected combobox items (which will be String paths) when
    not expanded, and only display the path without the icon in the list
    when expanded. It appears that ComboBoxRenderer only allows for both
    selected and list items to have icons and text, or just text, but not a
    mix. Has anyone done this? A code snippet would be greatly appreciated
    if so.

    Many Thanks,

    mp
    , Aug 29, 2005
    #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. Brian Birtle
    Replies:
    2
    Views:
    1,981
    John Saunders
    Oct 16, 2003
  2. Manoj Nair
    Replies:
    0
    Views:
    1,485
    Manoj Nair
    Sep 12, 2003
  3. Eben Upton
    Replies:
    0
    Views:
    385
    Eben Upton
    Jul 13, 2004
  4. Jimmy
    Replies:
    0
    Views:
    419
    Jimmy
    Oct 15, 2004
  5. frankrentef
    Replies:
    1
    Views:
    324
    coldpizza
    Feb 20, 2009
Loading...

Share This Page