permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes The color of arrow button in JCombobox is getting changed when chaging its background Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "The color of arrow button in JCombobox is getting changed when chaging its background" Watch "The color of arrow button in JCombobox is getting changed when chaging its background" New topic
Author

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

Debendra nayak
Greenhorn

Joined: Mar 28, 2008
Posts: 7
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

Joined: Oct 27, 2005
Posts: 19723
    
  20

"Debendra Blr",

Please read your private messages regarding an important announcement.

Thank you,

Rob


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: The color of arrow button in JCombobox is getting changed when chaging its background