aspose file tools
The moose likes Swing / AWT / SWT and the fly likes a Jbutton with a rounded border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "a Jbutton with a rounded border" Watch "a Jbutton with a rounded border" New topic
Author

a Jbutton with a rounded border

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Is there a way to have a JButton with rounded edges?

Thanks.
Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Here is a class that you can use to get rounded border :



or a class to paint a perfectly round button :

 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: a Jbutton with a rounded border