I started reading ๐๐ฎ๐๐ฎ ๐ต ๐ ๐ผ๐ฑ๐๐น๐ฎ๐ฟ๐ถ๐๐ by Sander Mak , and Paul Bakker.
And in the book code example, they use JavaFX.
JavaFX is replacing Swing, it is an advanced Java GUI library.
So I decided, to experiment it and crafted an app displaying your BMI according to your weight and size.
Here the repo:ย
NB:
โIn order to use it, you have to download the JavaFX SDK:
โPut this VM options:
"-p C:/_dev/VVJAVAFX/SDK/lib --add-modules javafx.controls"
where C:/_dev/VVJAVAFX/SDK/lib is the path of the JavaFX SDK lib.
โTo execute it out of Intellij:
ย java -jar -p C:/_dev/VVJAVAFX/SDK/lib --add-modules javafx.controls BodyMassIndex-1.0-SNAPSHOT.jar
From the command line, located in the folder target containing the Jar above.
![broken image](http://custom-images.strikinglycdn.com/res/hrscywv4p/image/upload/c_limit,fl_lossy,h_9000,w_1200,f_auto,q_auto/784839/645967_702991.png)