Open Lvarieras opened 3 years ago
So to fix that e need to go on Java 8 then when we run the main e have a new error at ava.lang.NullPointerException: Location is required.
To correct that i don't use the fXML anymore and i create the scene directly in the main class
So we are going tu use ComboBox and to get which comboBox you have selected we are unsing special expression and you need to add them to java 8 to do that you have to mousehover the expression for exemple : observable -> System.out.printf("Valeur sélectionnée: %s", comboBox.getValue()).println()) and click on add expression to java 8
Once we have clone the project and add the libraries of javaFX we have a problem All javaFX dependencies are not working and we need to add Maven dependency