X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fpackage-info.java;h=300f9731a26ea9728ac27e4ef91e82f0ecbc2f34;hb=HEAD;hp=7a5a752b981c218363e83a80df69d60b1b067990;hpb=a69ed767c9c07cf35cf1c5f7821fc009cfe79cd2;p=fanfix.git diff --git a/src/jexer/package-info.java b/src/jexer/package-info.java index 7a5a752..300f973 100644 --- a/src/jexer/package-info.java +++ b/src/jexer/package-info.java @@ -31,35 +31,28 @@ * Jexer - Java Text User Interface library * *

- * This library is currently in design, but when finished it is intended to - * implement a text-based windowing system loosely reminiscient of Borland's - * Turbo Vision - * library. - * - *

- * The library is currently under initial development, usage patterns are - * still being worked on. Generally the goal will be to build applications - * somewhat as follows: + * This library is a text-based windowing system loosely reminiscent of + * Borland's Turbo + * Vision library. Jexer's goal is to enable people to get up and + * running with minimum hassle and lots of polish. A very quick "Hello + * World" application can be created as simply as this: * *

  * {@code
- * import jexer.*;
+ * import jexer.TApplication;
  *
  * public class MyApplication extends TApplication {
  *
- *     public MyApplication() {
- *         super();
- *
- *         // Create an editor window that has support for copy/paste,
- *         // search text, arrow keys, horizontal and vertical scrollbar, etc.
- *         addEditor();
+ *     public MyApplication() throws Exception {
+ *         super(BackendType.XTERM);
  *
- *         // Create standard menus for File and Window
+ *         // Create standard menus for Tool, File, and Window.
+ *         addToolMenu();
  *         addFileMenu();
  *         addWindowMenu();
  *     }
  *
- *     public static void main(String [] args) {
+ *     public static void main(String [] args) throws Exception {
  *         MyApplication app = new MyApplication();
  *         app.run();
  *     }