Saturday, December 28, 2019

The Alternatives (JavaFX)

Starting to discern the two possibilities for
setting layout with JavaFX. (Yawn), it depends.

One can work with the code, as always
although one is free to use a CSS stylesheet:




Or, one can play with different layout models on SceneBuilder. The code
for Eclipse gets generated from one's Scene Builder choices :

Scene Builder preview:
 Eclipse:




Some projects just have more elaborate user interfaces...

                                                   *     *     *

On the first example - without Scene Builder - there are really two ways
of displaying an image. The first simply gets it from one's computer as
an image ( the slashes run to the right). The second gets it from System.io
and calls for backward slashes, like with command line:


No comments: