File Selection
This commit is contained in:
23
src/main/java/fabrik/simulator/pic16f84/CreateWindow.java
Normal file
23
src/main/java/fabrik/simulator/pic16f84/CreateWindow.java
Normal file
@ -0,0 +1,23 @@
|
||||
package fabrik.simulator.pic16f84;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class CreateWindow extends Application {
|
||||
@Override
|
||||
public void start(Stage stage) throws IOException {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(CreateWindow.class.getResource("FileSelector.fxml"));
|
||||
Scene scene = new Scene(fxmlLoader.load(), 1200, 800);
|
||||
stage.setTitle("PIC16F84-Simulator - Datei auswählen");
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
launch();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user