Skip to main content

New in JavaFX

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
carlosijc
Offline
Joined: 2013-07-08

I want the cross of a wheel to spin

see attachment
I have this, but this spins the whole picture.

rotateTransition = RotateTransitionBuilder.create()
.node(imgBall)
.duration(Duration.seconds(4))
.fromAngle(0)
.toAngle(720)
.cycleCount(Timeline.INDEFINITE)
.autoReverse(true)
.build();
play();

please help

AttachmentSize
lottery3.png729.03 KB