SHARE
TWEET

Untitled

pawlas91 Jun 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package stacjaPogodowa;
  2. import javafx.application.Application;
  3. import javafx.fxml.FXMLLoader;
  4. import javafx.scene.Parent;
  5. import javafx.scene.Scene;
  6. import javafx.stage.Stage;
  7.  
  8. public class Aplikacja extends Application {
  9.  
  10.     @Override
  11.     public void start(Stage primaryStage) throws Exception {
  12.         FXMLLoader fxmlLoader = new FXMLLoader(Aplikacja.class.getResource("Ramka.fxml"));
  13.         Parent layout = fxmlLoader.load();
  14.  
  15.         Scene scene = new Scene(layout);
  16.         primaryStage.setTitle("Stacja Pogodowa V1.0");
  17.         primaryStage.setScene(scene);
  18.         primaryStage.show();
  19.     }
  20.  
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top