Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package stacjaPogodowa;
- import javafx.application.Application;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.Parent;
- import javafx.scene.Scene;
- import javafx.stage.Stage;
- public class Aplikacja extends Application {
- @Override
- public void start(Stage primaryStage) throws Exception {
- FXMLLoader fxmlLoader = new FXMLLoader(Aplikacja.class.getResource("Ramka.fxml"));
- Parent layout = fxmlLoader.load();
- Scene scene = new Scene(layout);
- primaryStage.setTitle("Stacja Pogodowa V1.0");
- primaryStage.setScene(scene);
- primaryStage.show();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement