This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How do gradient as background of button? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do gradient as background of button?" Watch "How do gradient as background of button?" New topic
Author

How do gradient as background of button?

Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I want to implement my own look and feel and one thing I want is to be able to do a gradient for button backgrounds. How would I do this?
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Here's one way:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do gradient as background of button?
 
Similar Threads
custom repaint on JButton on mouserollover
DIV tag help color
jButton fill colour
Gradient Background for JTextPane
Problem painting component