This content has been marked as final. Show 3 replies
Hello again, I commented that now StrokeTransition I've tried but I can not do this in buttons.
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);
wow friend ... I can not believe I have missed a detail like that.
That was all I needed. modify the value KeyValue
thank you very much
God bless you