Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

circular button

843805Apr 5 2006 — edited Apr 5 2006
How do I create a circular button? Because it seems like all buttons are rectangular, right? JButton and Button are both rectangles. I know I can use a GIF as the image of the Button, but I want the button itself to be a circle. Also, if that is impossible for the button to be a circle, how do I make the button a square but the image a circle with everyting surrounding the circule in the button the same color as the background. That is, how do I make it invisible except for the circle?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2006
Added on Apr 5 2006
3 comments
140 views