This content has been marked as final. Show 3 replies
It looks like the end values for both your KeyValues are equal to 2; I think this means the animation would actually change anything. Try setting the first to 20:
I assume you are setting the drop shadow on the appropriate toggle button somewhere? Something like boton1.setEffect(ds)...?
KeyValue keyvalue1 = new KeyValue(ds.radiusProperty(), 20, Interpolator.EASE_OUT);