Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package stringcalculator;
- import javafx.application.Application;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.Parent;
- import javafx.scene.Scene;
- import javafx.stage.Stage;
- public class StringCalculator extends Application {
- @Override
- public void start(Stage stage) throws Exception {
- Parent root = FXMLLoader.load(getClass().getResource("Gui.fxml"));
- Scene scene = new Scene(root);
- stage.setScene(scene);
- stage.setResizable(false);
- stage.sizeToScene();
- stage.show();
- }
- public static void main(String[] args) {
- launch(args);
- }
- }
Add Comment
Please, Sign In to add comment