I'm working on some app with GUI using javafx and have one trouble. Notifications from controlsfx library (org.controlsfx.control.Notifications) work well when I'm running Main class from ItelliJ IDEA, but don't work in compiled jar (I have compiled jar using 'Build artifacts'). Other functionality work as well. Here is method from Controll class that should open pop-up window
public void zAxisMouseEntered(MouseEvent mouseEvent) {
Notifications notif1 = Notifications.create();
notif1.title("Warning message");
notif1.text("This configuration is slower than 'SPL on Z axis'");
notif1.hideAfter(Duration.seconds(3));
notif1.position(Pos.CENTER);
notif1.showWarning();
}
Can somebody help me with using this notifications when I'm running jar? Thanks!