Has anyone used the latter recently?
I included the jar file in the netbeans project
and execute the following code as indicated in the documentation here :
MessageBox.show(primaryStage,
"Sample of error dialog.\n\nDialog option is below.\n[MessageBox.ICON_ERROR]",
"Error dialog",
MessageBox.ICON_ERROR);
But nothing happens in my code. At least I was expecting some kind of window to appear.
I imported jfx.messagebox.MessageBox;and javafx.stage.Window;in your code.
I am using javafx version: 2.2.50
user3239126
source
share