Java 入門指南
EncryptGUI.java
/*
* 專案:EncryptGUI
* 檔名:EncryptGUI.java
* 作者:張凱慶
* 網站:http://kaiching.org
*/
package encryptgui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class EncryptGUI extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml"));
Scene scene = new Scene(root);
stage.setTitle("編密碼小工具");
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch(args);
}
}