본문 바로가기

GUI( JavaFX Scene Builder )/Control10

Control 예제 package controls; 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.CheckBox; import javafx.scene.control.Label; import javafx.scene.control.PasswordField; import javafx.scene.control.RadioButton; import javafx.scene.control.TextArea; import javafx.scene.cont.. 2022. 8. 18.
DatePicker package controls; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.DatePicker; import javafx.scene.layout.HBox; import javafx.stage.Stage; public class DatePickerEx extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { // DatePiker /.. 2022. 8. 18.
TextArea package controls; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.TextArea; import javafx.scene.layout.HBox; import javafx.scene.text.Font; import javafx.stage.Stage; public class TextAreaEx extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws.. 2022. 8. 18.
PasswordField package controls; import javafx.application.Application; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.PasswordField; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class PasswordFieldEx extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { // Passw.. 2022. 8. 18.