Commit | Line | Data |
---|---|---|
1 | import jexer.TApplication; | |
2 | ||
3 | public class MyApplication extends TApplication { | |
4 | ||
5 | public MyApplication() throws Exception { | |
6 | super(BackendType.XTERM); | |
7 | ||
8 | // Create standard menus for Tool, File, and Window. | |
9 | addToolMenu(); | |
10 | addFileMenu(); | |
11 | addWindowMenu(); | |
12 | } | |
13 | ||
14 | public static void main(String [] args) throws Exception { | |
15 | MyApplication app = new MyApplication(); | |
16 | app.run(); | |
17 | } | |
18 | } |