• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add a rounded shadow effect to jButton

 
Anca Zavate
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I'm trying to make a jButton with rounded edges and shadow.

For the rounded edges I used setBorder for the jButton with an instance of the RoundedBorder bellow:


How can I make a rounded jButton and also add a rounded shadow effect? Thanks in advance
standard.PNG
[Thumbnail for standard.PNG]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!