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: - Drag and drop the 'at' item from the Animation category to the editor: ------------------------------------------------ import javafx.animation.Timeline; import javafx.animation.Interpolator; var v = 10.0; Timeline { repeatCount: Timeline.INDEFINITE keyFrames: [ at (5s) { v => 100.0 tween Interpolator.LINEAR } at (5s) {v => 20.0 tween Interpolator.LINEAR} a // <-- Typo ]; } ------------------------------------------------ The is the 'a' symbol at the end of the template \Main.fx:18: cannot find symbol symbol : variable a location: class javafxapplication2.Main a 1 error
build netbeans-trunk-nightly-201005122200-javafx-full-windows.exe
Could not reproduce it, I slightly changed snippet. Should be fine now.
The problem is not in the Timeline item. The problem is in the 'at' item: -------------------------------------------------- at (5s) {value => 20.0 tween Interpolator.LINEAR} a --------------------------------------------------
Created attachment 98927 [details] Editor screenshot
Now I can reproduce it, it looks like in same cases at the end of the snippet random letter is added, anyway should be fine now, fixed, http://hg.netbeans.org/javafx/rev/a04e677d3bd8
verified in NetBeans-JavaFX-Soma: #253