jjugccc2016fall-javafx/src/com/torutk/tinymap/TinyMapApp.java @ b1f498de
| b918a80d | TAKAHASHI,Toru | /*
|
||
* © 2016 Toru Takahashi
|
||||
*/
|
||||
package com.torutk.tinymap;
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
/**
|
||||
*
|
||||
* @author Toru Takahashi
|
||||
*/
|
||||
public class TinyMapApp extends Application {
|
||||
@Override
|
||||
public void start(Stage stage) throws Exception {
|
||||
Parent root = FXMLLoader.load(getClass().getResource("TinyMapView.fxml"));
|
||||
Scene scene = new Scene(root);
|
||||
stage.setScene(scene);
|
||||
| 89092ba0 | TAKAHASHI,Toru | stage.setTitle("Tiny Map Viewer");
|
||
| b918a80d | TAKAHASHI,Toru | stage.show();
|
||
}
|
||||
/**
|
||||
* @param args the command line arguments
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
launch(args);
|
||||
}
|
||||
}
|