I've added jar file to my project. added it to the module setting as well. and I getting this error :
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jlfgr not found, required by UdemyFX
this is the sample.fxml :
<GridPane fx:controller="sample.Controller"
xmlns:fx="http://javafx.com/fxml" alignment="CENTER" hgap="10" vgap="10">
<Button text="Click me!">
<graphic>
<ImageView>
<Image url="@/toolbarButtonGraphics/general/TipOfTheDay24.gif"/>
</ImageView>
</graphic>
</Button>
and this is the module-info :
module UdemyFX {
requires javafx.fxml;
requires javafx.graphics;
requires javafx.controls;
requires jlfgr;
opens sample;
}
I am using java 11, I have no idea why I keep getting that error.. ty!