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.
NetBeans-JavaFX-Soma: #155 Some palette items have a comma at the end. For example: Gradients -> Stop: ---------------------------- Stop { color : Color.WHITE offset: 0.0 }, ---------------------------- Paths ---------------------------- MoveTo { x : 0.0, y : 0.0 }, ---------------------------- ---------------------------- LineTo { x : 0.0, y : 0.0 }, ---------------------------- and so on. It is not necessary now to have commas at the end. For example the code below works without commas: ---------------------------------------------- import javafx.scene.shape.*; Path { elements: [ MoveTo { x: 0.0, y: 0.0 } LineTo { x: 0.0, y: 0.0 } ArcTo { x: 0.0, y: 0.0 radiusX: 0.0, radiusY: 0.0 } ] } ---------------------------------------------- And some times it is necessary to define a variable with the component value: ---------------------------------------------- var moveTo = MoveTo { x : 0.0, y : 0.0 }; ---------------------------------------------- The comma is not necessary in this case too.
fixed, changeset: http://hg.netbeans.org/javafx/rev/b6e137f89cb6
verified in NetBeans-JavaFX-Soma: #179