Results 1 to 5 of 5
- 03-19-2009, 01:54 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 3
- Rep Power
- 0
-
If you're only wanting to do this for one button, then simply change the background of the button via its property. If however you mean to change this on all buttons you'll likely need to use look and feel to do this.
- 03-21-2009, 04:32 PM #3
Member
- Join Date
- Mar 2009
- Posts
- 3
- Rep Power
- 0
I need to change it for the whole applet which includes more than 60 buttons... How to change the look and feel to a custom color
-
Sun may be able to help you here: Lesson: Modifying the Look and Feel (The Java™ Tutorials > Creating a GUI with JFC/Swing)
- 03-21-2009, 05:48 PM #5
Member
- Join Date
- Mar 2009
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
my code doesn't change background color
By javanoobita in forum New To JavaReplies: 5Last Post: 02-22-2009, 04:30 AM -
Text color in disabled componentes
By saul_2110 in forum AWT / SwingReplies: 8Last Post: 12-13-2008, 05:37 AM -
Disabled JButton font color
By p900128 in forum Advanced JavaReplies: 1Last Post: 07-24-2008, 08:16 AM -
JButton onClick change color background
By behrk2 in forum AWT / SwingReplies: 6Last Post: 07-09-2008, 04:54 PM -
How to change the foreground color of a disabled control
By arunkumarsimhadri in forum New To JavaReplies: 0Last Post: 07-09-2008, 04:30 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks