Meaningless Drivel is fun!*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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?