Lauren Green před 6 roky
rodič
revize
1afad0b60d

+ 4
- 8
src/main/java/rocks/zipcode/atm/CashMachineApp.java Zobrazit soubor

@@ -37,20 +37,18 @@ public class CashMachineApp extends Application {
37 37
 
38 38
             areaInfo.setText(cashMachine.toString());
39 39
         });
40
-/*
40
+
41 41
         //Make Button Do something.
42 42
         Button btnNewAccount = new Button("Setup New Account");
43
+       /*
43 44
         btnSubmit.setOnAction(e -> {
44
-            int id = Integer.parseInt(field.getText());
45
-            cashMachine.login(id);
46 45
 
47 46
         });
48
-
47
+*/
49 48
         //Make Button Do something.
50 49
         Button btnForgotAccountNumber = new Button("Forgot Account Number");
50
+       /*
51 51
         btnSubmit.setOnAction(e -> {
52
-            int id = Integer.parseInt(field.getText());
53
-            cashMachine.login(id);
54 52
 
55 53
         });
56 54
 */
@@ -81,10 +79,8 @@ public class CashMachineApp extends Application {
81 79
         FlowPane flowpane = new FlowPane();
82 80
 
83 81
         flowpane.getChildren().add(btnSubmit);
84
-        /*
85 82
         flowpane.getChildren().add(btnNewAccount);
86 83
         flowpane.getChildren().add(btnForgotAccountNumber);
87
-        */
88 84
 
89 85
         FlowPane flowpane2 = new FlowPane();
90 86