File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 19543
    
  16

"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
 
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
 
Similar Threads
JButton is not displaying the background color
Windows 7 not paint correctly Swing controls
Color the JComboBox
Problem with updating look and feel colors of swing components dynamically
Problem with JComboBox background colour when using customer renderer