package test.scenegraph.app; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.RadioButton; import javafx.scene.layout.Pane; import javafx.stage.Stage; import javafx.scene.layout.VBox; import javafx.scene.text.Font; public class ShortAppWithoutDependencies5111 extends Application { @Override public void start(Stage stage) { Pane p = new VBox(); Scene scene = new Scene(p); stage.setScene(scene); stage.setWidth(500); stage.setHeight(500); RadioButton rb1 = new RadioButton(); p.getChildren().add(rb1); rb1.setFont(Font.font("Verdana", 10)); rb1.setText("XO"); RadioButton rb2 = new RadioButton(); p.getChildren().add(rb2); rb2.setFont(Font.font("Courier New", 22)); rb2.setText("XO"); RadioButton rb3 = new RadioButton(); p.getChildren().add(rb3); rb3.setText("XO"); stage.setVisible(true); } public static void main(String args[]) { Application.launch(ShortAppWithoutDependencies5111.class, args); } }