Monday, January 27, 2020

Java Geek

Yesterday's coding exercise made me finally understand
the import of some of the things I had been reading: like that
BorderPane divides the space into regions, and that each region
accepts one child node at most. Thus, if one wants more, one needs
to add another layout element as that child!!

If one leaves an area undefined, the space will be allocated to
neighbors that are...

https://examples.javacodegeeks.com/desktop-java/javafx/javafx-borderpane-example/

The AnchorPane is a good choice for the root layout because
of it's behaviour with respect to re-sizing. specifying a left and top anchor
will keept the design in the right place. giving fixed positions to opposite
anchors will make the element expand and retract on re-sizing.

https://www.vojtechruzicka.com/javafx-layouts-advanced/

All .fxml files now open in Scene Builder!!

                                            *     *     *

Have completed Part2!

No comments: