-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.java
More file actions
29 lines (23 loc) · 685 Bytes
/
Copy pathApp.java
File metadata and controls
29 lines (23 loc) · 685 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
package Evolution;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
/**
*This class models an Application, which contains the top-level object, a PaneOrganizer named organizer.
*/
public class App extends Application {
@Override
public void start(Stage stage) {
PaneOrganizer organizer = new PaneOrganizer();
Scene scene = new Scene (organizer.getRoot());
stage.setScene(scene);
stage.show();
}
/*
* Here is the mainline! No need to change this.
*/
public static void main(String[] argv) {
// launch is a method inherited from Application
launch(argv);
}
}