From: Kevin Lamonte Date: Sat, 9 Mar 2019 15:24:15 +0000 (-0600) Subject: fix example X-Git-Tag: fanfix-swing-0.0.1~12^2~13^2~155 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=d8298cc4916e0d5c322275e735c4c038a555c99c;p=fanfix-swing.git fix example --- diff --git a/src/jexer/package-info.java b/src/jexer/package-info.java index f2769a0f..300f9731 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(); * }