Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # JavaFX <http://docs.oracle.com/javase/8/javase-clienttechnologies.htm> ### Getting Started with JavaFX * [[What Is JavaFX]] * [[Get Started with JavaFX]] * [[Get Acquainted with JavaFX Architecture]] * [[Deployment Guide]] ### Graphics * [[Getting Started with JavaFX 3D Graphics]] * [[Use the Image Ops API]] * [[Work with Canvas]] ### User Interface Components * [[Work with UI Controls]] * [[Create Charts]] * [[Add Text]] * [[Add HTML Content]] * [[Work with Layouts]] * [[Skin Applications with CSS]] * [[Build UI with FXML]] * [[Handle Events]] ### Effects, Animation, and Media Create Visual Effects Add 2D & 3D Transformations Add Transitions & Animation Incorporate Media Application Logic Work with the Scene Graph Use Properties and Binding Work with Collections Interoperability Use Concurrency and Threads Integrate JavaFX and Swing Integrate JavaFX and SWT Reference JavaFX API Documentation CSS Reference Guide Introduction to FXML Stage > StackPane > ### 이클립스 플러그인 설치 efxclipse - http://www.eclipse.org/efxclipse/install.html ### Hello World 참고 - http://docs.oracle.com/javafx/2/get_started/hello_world.htm ```java package application; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.StackPane; public class Main extends Application { @Override public void start(Stage primaryStage) { primaryStage.setTitle("Hello World!"); Button btn = new Button(); btn.setText("Say 'Hello World'"); btn.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent event) { System.out.println("Hello World!"); } }); StackPane root = new StackPane(); root.getChildren().add(btn); primaryStage.setScene(new Scene(root, 300, 250)); primaryStage.show(); } public static void main(String[] args) { launch(args); } } ``` open/javafx.txt Last modified: 2024/10/05 06:15by 127.0.0.1