aspose file tools
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
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
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: 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Jbutton colour issue while changing look anf feel
 
Similar Threads
Eclipse editor - arbitrary text highlighting
Strange JButton background behaviour
The blue eyes problem
Simple STRING Question!
GeneralPath query