From: Kevin Lamonte Date: Sun, 28 Jul 2019 22:35:46 +0000 (-0500) Subject: hello world X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=28c0cfa6a54efb01308855e0528a86a528e987b6;p=fanfix-jexer.git hello world --- diff --git a/examples/HelloWorld.java b/examples/HelloWorld.java new file mode 100644 index 0000000..1246959 --- /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(); + } +}