Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Round Button Border

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic