JavaFX – Effects

I continue reading my JavaFX book and learning by example and continue finsing amzing all the new things I am learning and trying out.

So I created a quick and small example of a simple JavaFX GUI with a couple of effects, the EXIT button is blur and the main text has a reflection.

I am using the following effects.

MotionBlur mb = new MotionBlur();

Reflection reflect = new Reflection();

Here is what you get once you compile the code, I am using java JDK


If you want to try it for yourself, here is the full source code. simplefx-effects source

Leave a Reply