wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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 :

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a Jbutton with a rounded border
 
Similar Threads
Let's spin a yarn
0 or 1
from rectangular shape to ellipse shape with jquery
Custom Buttons
Question regarding the BigDecimal class