-
Notifications
You must be signed in to change notification settings - Fork 0
/
BurrowsWheelerApp.java
45 lines (37 loc) · 1.16 KB
/
BurrowsWheelerApp.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
/*
* BurrowsWheelerApp.java
*/
package burrowswheeler;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;
/**
* The main class of the application.
*/
public class BurrowsWheelerApp extends SingleFrameApplication {
/**
* At startup create and show the main frame of the application.
*/
@Override protected void startup() {
show(new BurrowsWheelerView(this));
}
/**
* This method is to initialize the specified window by injecting resources.
* Windows shown in our application come fully initialized from the GUI
* builder, so this additional configuration is not needed.
*/
@Override protected void configureWindow(java.awt.Window root) {
}
/**
* A convenient static getter for the application instance.
* @return the instance of BurrowsWheelerApp
*/
public static BurrowsWheelerApp getApplication() {
return Application.getInstance(BurrowsWheelerApp.class);
}
/**
* Main method launching the application.
*/
public static void main(String[] args) {
launch(BurrowsWheelerApp.class, args);
}
}