How To Add Drop Shadow In Stage Window In Java FX 2

Back then, I made a post on how to create a simple custom popup dialog but the problem is that it is flat out boring.

There is no sense of depth that makes it appear 3D or something. Luckily, with CSS I was able to add a drop shadow effect behind the Stage window to make it look like the photo below.



It looks better than without a shadow, right?

Here is the full CSS code.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *