Hallvard Trætteberg
Hallvard Trætteberg
I "downgraded" to gluonfx-maven-plugin 1.0.23, GraalVM 17 from https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final, JDK 17 and JavaFX 21-ea, as explained in https://github.com/gluonhq/gluonfx-maven-plugin/issues/518 Then the build worked, and the Ikonli icons rendered as expected.
I looked at placement of edge labels and found out that the options should be attached to the label, not the edge, e.g. edgeLabel.setProperty(CoreOptions.EDGE_LABELS_INLINE, true); edgeLabel.setProperty(CoreOptions.EDGE_LABELS_PLACEMENT, EdgeLabelPlacement.HEAD); In the original...
It seems hierarchical edges aren't layed out unless you add ``` root.setProperty(CoreOptions.HIERARCHY_HANDLING, HierarchyHandling.INCLUDE_CHILDREN); ``` to a node at the appropriate level, usually the root (graph as a whole) Then, to...
This line in `printAllSubGroups` did the trick: ``` elkCluster.setProperty(CoreOptions.PADDING, new ElkPadding(30, 12, 12, 12)); ``` The first argument is the top padding, which should be computed based on the package...
References and _using_ existing classes can be introduced earlier, to make programs more interesting
String, LocalDate and LocalDataTime are good examples of immutable objects. They have state, but no way of changing it. Although immutable objects are preferable in many cases, they are not...
I've looked more into this... there are two approaches that are possible. Both rely on an injectable helper object, I've named it FxViewLoader, that contains the logic for loading the...
Introducing a metaphor may help gaining an intuition about what programming is, providing detailed (enough) instructions for making some machine perform some task. Elements of the metaphor can be revisited...
A comment from the side here: As you say, not all elements need be web components, as some don't need the abstraction and encapsulation (of logic and structure) that web...