File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Round Button Border" Watch "Round Button Border" New topic

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:
subject: Round Button Border
It's not a secret anymore!