-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.java
More file actions
30 lines (25 loc) · 691 Bytes
/
App.java
File metadata and controls
30 lines (25 loc) · 691 Bytes
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
package heap;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
* This class is the main class for Heap.
*
* !You don't need to touch this file at all!
*
*/
public class App extends Application {
@Override
public void start(Stage stage) {
// Creating top-level object, set up the scene, and show the stage here.
stage.setTitle("Heap Visualizer");
support.heap.HeapVizFX visualizer = new support.heap.HeapVizFX("heap.MyHeap");
Scene scene = new Scene(visualizer.getRoot());
stage.setScene(scene);
stage.sizeToScene();
stage.show();
}
public static void main(String[] argv) {
launch(argv);
}
}