This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - Create a JavaFX Script file: --------------------------------------------------------- import javafx.ui.*; import javafx.ui.canvas.*; import javafx.animation.*; import java.lang.System; var angle = 0.0; var timeline = Timeline { keyFrames: KeyFrame { time: 1s values: angle => 360 tween Interpolator.LINEAR } repeatCount: java.lang.Double.POSITIVE_INFINITY } timeline.start(); Frame{ width: 100 height: 100 title: "Example" onClose: function(){ System.exit(0);} content: Canvas{ content: Group{ transform: Transform.translate(25, 25) content: Rect{ x: 25 y: 25 width: 50 height: 50 fill: Color.ORANGE transform: bind Transform.rotate(angle, 0, 0) } } } visible: true } --------------------------------------------------------- - Enable the preview The rectangle is not rotated in the Preview
Works fine for me with 04/17 build. What is your build number ?
build 2008-04-18_02-32-38.zip
Works with the latest runtme.
verified
- Create a Clock example from 'Samples|JavaFX|Best Practices|Input|Clock' samples - Run the sample A frame with working clock appears - Enable th preview The clock does not work in the Preview
The Animation works fist time but does not work second and others times.
Created attachment 61022 [details] Planets app that does not work in the Preview
Fixed.