GUI( JavaFX Scene Builder )38 HBox package application; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; import javafx.stage.Stage; public class HBoxEx extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { Pane p1 = new Pane(), p2.. 2022. 8. 15. ListView package application; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.ListView; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.BorderPane; import javafx.stage.Stage; public class ListViews extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception {.. 2022. 8. 15. AnchorPane package application; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; public class AnchorPanes extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { Button[] buttons = new Button[4]; Stri.. 2022. 8. 15. GUI (예제) (BorderPane, FlowPane, GridPane) package total; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.layout.BorderPane; import javafx.scene.layout.FlowPane; import javafx.scene.layout.GridPane; import javafx.stage.Stage; public class prac extends Application { public .. 2022. 8. 15. 이전 1 ··· 6 7 8 9 10 다음