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 / JFace and the fly likes Jbutton colour issue while changing look anf feel Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply 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: 15
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

This message was edited 1 time. Last update was at by hafz Khan

Michael Dunn
Rancher

Joined: Jun 09, 2003
Posts: 3619
> ...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
 
 
subject: Jbutton colour issue while changing look anf feel
 
developer file tools