-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSlotMachineTwo.java
More file actions
71 lines (50 loc) · 1.61 KB
/
SlotMachineTwo.java
File metadata and controls
71 lines (50 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* Homework Chapter 11 Slot Machine DUE DATE: 3/31/2019
* Hugo Hiraoka
* Eric Petit
* Mitchell Napoleon
*
*/
package slotmachinetwo;
import javafx.application.Application;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
//import javafx.event.ActionEvent;
//import javafx.event.EventHandler;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.TextFormatter;
//import javafx.scene.control.Button;
//import javafx.scene.control.Label;
//import javafx.scene.control.TextField;
//import javafx.scene.image.Image;
//import javafx.scene.image.ImageView;
//import javafx.scene.layout.AnchorPane;
//import javafx.scene.layout.HBox;
//import javafx.scene.text.Font;
//import javafx.scene.control.Button;
//import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import java.util.*;
import static javafx.application.Application.launch;
import javafx.scene.control.TextFormatter.Change;
/**
*
* @author hhira
*/
public class SlotMachineTwo extends Application {
// @Override
public void start(Stage stage) throws Exception{
Parent parent = FXMLLoader.load(getClass().getResource("SlotMachineTwo.fxml"));
Scene scene = new Scene(parent);
stage.setTitle("SLOT MACHINE TWO");
stage.setScene(scene);
stage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}