Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The color of arrow button in JCombobox is getting changed when chaging its background

 
Debendra nayak
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
There is a JCombobox in my application, it is a swing application.
When I am changing the background color of the combobox, it is working fine, it is changing only its background color without changing the color of arrow button in Combobox. I want to run my swing application in XP without the look and feel of XP, and I have specified -Dswing.noxp=true
as a startup argument. My application is running fine, but when I am changing the background color of the combobox, it is also changing the color of the arrow button in combobox. I want to run my application without the look and feel of XP by passing the above parameter, and I want to change the combobox background color without changing its arrow button
color. Could anyone of you please help me to solve this issue.

Thanks & Regards,
Debendra
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Debendra Blr",

Please read your private messages regarding an important announcement.

Thank you,

Rob
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic