how can i make 100% circular buttons. normally JButton comes as a square. evan i put a icon image and set null background, null border and setOpaque to false it will shoe it's like a circular button but true is it is not and it is not acting like a circular button so my problem is how to make a 100 % circular button
Thanks a lot Following is my code I am using at now
So instead of creating JButton objects if I create RoundButton objects will my code work ( RoundButton � it is a class shown in the link show above)
Joined: Dec 07, 2000
Here is another workaround..
Use AWT graphics object and create a button on ur own. I mean instead of using JButton, create a round figure with bevel effect which will look similar to a JButton and then using MouseMove and mosueClick method and verifying the co-ordinates , u can simulate the click action.
this will give you 100% round button without any invisible square areas ..