This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 20128
    
  30

"Debendra Blr",

Please read your private messages regarding an important announcement.

Thank you,

Rob


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The color of arrow button in JCombobox is getting changed when chaging its background
 
It's not a secret anymore!