From 28c0cfa6a54efb01308855e0528a86a528e987b6 Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Sun, 28 Jul 2019 17:35:46 -0500 Subject: [PATCH] hello world --- examples/HelloWorld.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/HelloWorld.java diff --git a/examples/HelloWorld.java b/examples/HelloWorld.java new file mode 100644 index 00000000..1246959d --- /dev/null +++ b/examples/HelloWorld.java @@ -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(); + } +} -- 2.27.0