File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Question regarding the BigDecimal class
Let's spin a yarn
Custom Buttons
from rectangular shape to ellipse shape with jquery
0 or 1