-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBorderPaneApplication.java
40 lines (31 loc) · 1023 Bytes
/
BorderPaneApplication.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
package borderpane;
// ______ __ __ __ __
///\ ___\ /\ \/\ \ /\_\_\_\
//\ \ \____\ \ \_\ \\/_/\_\/_
// \ \_____\\ \_____\ /\_\/\_\
// \/_____/ \/_____/ \/_/\/_/
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.stage.*;
public class BorderPaneApplication extends Application {
@Override
public void start(Stage window){
BorderPane layout = new BorderPane();
layout.setTop(new Label("NORTH"));
layout.setRight(new Label("EAST"));
layout.setBottom(new Label("SOUTH"));
Scene view = new Scene(layout);
window.setScene(view);
window.show();
}
public static void main(String[] args) {
launch(BorderPaneApplication.class);
}
}
//keep taking care of your goals,
//mental health, self care, recognize
//cognitive distortions and rebel against them!!
//one step at a time, don't be afraid to
//ask 4 help or to fail at times.