• Post Reply Bookmark Topic Watch Topic
  • New Topic

Change color of JComboBox content

 
Sarone Thach
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
does anyone know how to change the background of a JComboBox.I tried using, the setBackground() method, works fine for a windows platform, but if I put it on a Mac, the outline of the JComboBox is set to the color that i want. But the combobox is still grey.
I would like the combobox to be filled with the color that i choose.
I hope you know what i mean. Please give me some ideas,
thanks muchly,
Sarone
[ January 19, 2004: Message edited by: Sarone Thach ]
 
Sabina Norderhaug
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[del] sorry didn't notice comment about Mac
[ January 20, 2004: Message edited by: Sabina Norderhaug ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!