Hi Vijay Button itself means it has its own specific graphical representation. So, u can't get buttons in different shapes. But u can arrange them in a container in different ways. Hope this can help u with regards chak
Originally posted by Just Java: Is it possible to have different shapes of buttons in Swing ? [ Using ButtonUI ]
posted 19 years ago
Actually, you can make buttons of different shapes. Check out this link for an example of a round JButton.
U could try one more thing : Add Round/Square/Any suitable shape gifs to the button. In this way, the button appears to be Round/Square/Other suitable shape. I guess the only prerequisite is that you have to prepare gifs.