This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Jbutton colour issue while changing look anf feel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jbutton colour issue while changing look anf feel" Watch "Jbutton colour issue while changing look anf feel" New topic
Author

Jbutton colour issue while changing look anf feel

hafz Khan
Greenhorn

Joined: Jul 04, 2010
Posts: 16
Hi all,

I have changed the colour of the JButton and when i change the look and feel to some other, then the jbutton's colour is changing . As i want to give some good looking colours to my button..can i know which are all the standard colours which can be used.

Thank You,
hfz
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> ...can i know which are all the standard colours which can be used.

look at the Color api, or
open a JColorChooser and play around with the colors.

you may also want to look at the UIManager's defaults
 
Have you checked out Aspose?
 
subject: Jbutton colour issue while changing look anf feel
 
It's not a secret anymore!