#45 fix example usage
[nikiroo-utils.git] / src / jexer / TMessageBox.java
index 1eff8a7613ef120ef1b88428931d60fa18d7fc48..c93ad832d06459b925687969327d77d50371a9db 100644 (file)
@@ -41,7 +41,7 @@ import static jexer.TKeypress.*;
  *
  * <pre>
  * {@code
- *     box = application.messageBox(title, caption,
+ *     box = messageBox(title, caption,
  *         TMessageBox.Type.OK | TMessageBox.Type.CANCEL);
  *
  *     if (box.getResult() == TMessageBox.OK) {