< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/shape/Box.java
Print this page
@@ -83,21 +83,20 @@
});
}
private TriangleMesh mesh;
- /**
- * Creates a new instance of {@code Box} of dimension 2 by 2 by 2.
- */
-
public static final double DEFAULT_SIZE = 2;
{
// To initialize the class helper at the beginning of each constructor of this class
BoxHelper.initHelper(this);
}
+ /**
+ * Creates a new instance of {@code Box} of dimension 2 by 2 by 2.
+ */
public Box() {
this(DEFAULT_SIZE, DEFAULT_SIZE, DEFAULT_SIZE);
}
/**
< prev index next >