hello world
authorKevin Lamonte <kevin.lamonte@gmail.com>
Sun, 28 Jul 2019 22:35:46 +0000 (17:35 -0500)
committerKevin Lamonte <kevin.lamonte@gmail.com>
Sun, 28 Jul 2019 22:35:46 +0000 (17:35 -0500)
examples/HelloWorld.java [new file with mode: 0644]

diff --git a/examples/HelloWorld.java b/examples/HelloWorld.java
new file mode 100644 (file)
index 0000000..1246959
--- /dev/null
@@ -0,0 +1,12 @@
+import jexer.TApplication;
+
+public class HelloWorld {
+
+    public static void main(String [] args) throws Exception {
+        TApplication app = new TApplication(TApplication.BackendType.XTERM);
+        app.addToolMenu();
+        app.addFileMenu();
+        app.addWindowMenu();
+        app.run();
+    }
+}