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 Round Button Border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Round Button Border" Watch "Round Button Border" New topic
Author

Round Button Border

Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Me, again! I snatched some code from sun's website on how to create a round button. It works great! Now I want to be able to apply a raised bevel border to this round button, but I can't seem to figure out how to do this. I tried setBorder on the button, but no change. What do I need to do to get the border raised on this button? Is there something I need to add in the paintBorder method? Thanks for any help!
Here's the "RoundButton" class.


[ October 08, 2004: Message edited by: Jennifer Sohl ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Round Button Border