OKButton
public class Main {
public static void main(String[] args) {
Application.launch(OKButton.class, args);
}
public static class OKButton extends Application {
@Override
public void start(Stage stage) {
Button btn = new Button("OK");
Scene scene = new Scene(btn, 200, 250);
stage.setScene(scene);
stage.show();
}
}
}