Hi there!
I have following problem.
When I create a Frame with a Button using JavaFX, then I get the Error-Message "java.lang.UnsupportedOperationException: Not supported yet", after I pressed the Button.
My Code:
Does anyone have an idea ?
Thanks - Flynn
I have following problem.
When I create a Frame with a Button using JavaFX, then I get the Error-Message "java.lang.UnsupportedOperationException: Not supported yet", after I pressed the Button.
My Code:
Java:
try
{
Button btn = new Button();
btn.setText("Say 'Hello World'");
btn.setOnAction(new EventHandler<ActionEvent>()
{
@Override
public void handle(ActionEvent event)
{
throw new UnsupportedOperationException("Not supported yet.");
}
});
StackPane root = new StackPane();
root.getChildren().add(btn);
primaryStage.setScene(new Scene(root, 300, 250));
primaryStage.show();
}
catch (Exception ex)
{
objFF.writeMsgExc("Exc: " + ex.getMessage(), ex, Boolean.TRUE);
}
Thanks - Flynn
Zuletzt bearbeitet von einem Moderator: