This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Change color of JComboBox content  RSS feed

 
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!