Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javafx.application.Application;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.Parent;
- import javafx.scene.Scene;
- import javafx.stage.Stage;
- public class main extends Application {
- public static void main(String[] args) {
- Application.launch(main.class, args);
- }
- @Override
- public void start(Stage stage) throws Exception {
- Parent root = FXMLLoader.load(getClass().getResource("/view/main.fxml"));
- stage.setTitle("PIN-Generator");
- stage.setScene(new Scene(root, 600, 400));
- stage.show();
- }
- }
- package view;
- import javafx.fxml.FXML;
- import javafx.scene.control.Button;
- import javafx.scene.control.Label;
- public class MainController {
- @FXML
- private Label dpmadirektpropingenerator;
- @FXML
- private Button unlockPinButton;
- @FXML
- private Button confirmationPinButton;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement