Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. import javafx.application.Application;
  2. import javafx.fxml.FXMLLoader;
  3. import javafx.scene.Parent;
  4. import javafx.scene.Scene;
  5. import javafx.stage.Stage;
  6. public class main extends Application {
  7. public static void main(String[] args) {
  8. Application.launch(main.class, args);
  9. }
  10. @Override
  11. public void start(Stage stage) throws Exception {
  12. Parent root = FXMLLoader.load(getClass().getResource("/view/main.fxml"));
  13.  
  14. stage.setTitle("PIN-Generator");
  15. stage.setScene(new Scene(root, 600, 400));
  16. stage.show();
  17. }
  18. }
  19.  
  20. package view;
  21.  
  22. import javafx.fxml.FXML;
  23. import javafx.scene.control.Button;
  24. import javafx.scene.control.Label;
  25.  
  26. public class MainController {
  27.  
  28. @FXML
  29. private Label dpmadirektpropingenerator;
  30. @FXML
  31. private Button unlockPinButton;
  32. @FXML
  33. private Button confirmationPinButton;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement