Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6.  
  7. package giereczka2;
  8.  
  9.  
  10.  
  11. import javafx.application.Application;
  12. import javafx.event.ActionEvent;
  13. import javafx.event.EventHandler;
  14. import javafx.scene.Scene;
  15. import javafx.scene.control.Button;
  16. import javafx.scene.layout.StackPane;
  17. import javafx.stage.Stage;
  18.  
  19. /**
  20. *
  21. * @author konwe
  22. */
  23. public class GIERECZKA2 extends Application {
  24.  
  25. @Override
  26. public void start(Stage primaryStage) {
  27. try{
  28. widok manager = new widok();
  29. primaryStage = manager.getMainStage();
  30. primaryStage.show();
  31. }catch(Exception e) {
  32. e.printStackTrace();
  33. }
  34. }
  35.  
  36.  
  37. public static void main(String[] args) {
  38. launch(args);
  39. }
  40.  
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement