I try to to remake an app from JavaFX 1 to JavaFX 2. The JavaFX 1 app uses:
import javafx.scene.CustomNode;
Using this import in JavaFX 2 I receive an error:
Cannot find symbol class CustomNode in package javafx.scene
There is an equivalent in JavaFX 2?
Thanks.
eb
Group
is the JavaFX 2 equivalent of a JavaFX 1CustomNode
.A JavaFX 1.3
CustomNode
was a node with children and no explicit layout (all children needed to be laid out manually by the implementor of theCustomNode
).Don't expect JavaFX 1 and JavaFX 2 to be very similar - they are pretty different things.