!7

lib 1011954

import jexer.*;

sclass MyApplication extends TApplication {
  *() throws UnsupportedEncodingException {
    super(BackendType.SWING); // Could also use BackendType.XTERM

    // Create standard menus for File and Window
    addFileMenu();
    addWindowMenu();

    // Add a custom window, see below for its code.
    //addWindow(new MyWindow(this));
  }
}

p {
  final new MyApplication app;
  startThread(r {
    fixContextClassLoader(); // doesn't fix the font data message
    callF(app);
  });
}