-
Notifications
You must be signed in to change notification settings - Fork 0
/
FXDriver.java
48 lines (35 loc) · 1.13 KB
/
FXDriver.java
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
import java.io.IOException;
import javafx.application.Application;
//import javafx.application.Application;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Tooltip;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Pane;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class FXDriver implements Application {
/**
* The main method for the GUI example program JavaFX version
* @param args not used
* @throws IOException
*/
public static void main(String[] args) {
launch(args);
}
private static void launch(String[] args) {
// TODO Auto-generated method stub
}
@Override
public void start(Stage stage) throws Exception {
//call the main scene which is a BorderPane
FXMainPane root = new FXMainPane();
stage.setScene(new Scene(root, 600, 400));
// Set stage title and show the stage.
stage.setTitle("Cybersecurity Encryption and Decryption");
stage.show();
}
}