How to create rounded JButton in java..?

后端 未结 3 1683
清歌不尽
清歌不尽 2020-12-17 04:57

I want to create rounded JButton in Java...
For that I use rounded image and placed that image on button but I didn\'t get rounded button..

please any one can te

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-17 05:29

    You can use JavaFX to define "Rich Graphic Components" example (rounded button with gradient): http://poligloci.blogspot.com/2009/07/beauty-and-beast-javafx-12-in-netbeans.html

提交回复
热议问题