From: Kevin Lamonte Date: Sat, 9 Mar 2019 15:24:15 +0000 (-0600) Subject: fix example X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=d8298cc4916e0d5c322275e735c4c038a555c99c;p=nikiroo-utils.git fix example --- diff --git a/src/jexer/package-info.java b/src/jexer/package-info.java index f2769a0..300f973 100644 --- a/src/jexer/package-info.java +++ b/src/jexer/package-info.java @@ -43,8 +43,8 @@ * * public class MyApplication extends TApplication { * - * public MyApplication() { - * super(); + * public MyApplication() throws Exception { + * super(BackendType.XTERM); * * // Create standard menus for Tool, File, and Window. * addToolMenu(); @@ -52,7 +52,7 @@ * addWindowMenu(); * } * - * public static void main(String [] args) { + * public static void main(String [] args) throws Exception { * MyApplication app = new MyApplication(); * app.run(); * }