#45 fix example usage
authorKevin Lamonte <kevin.lamonte@gmail.com>
Wed, 31 Jul 2019 02:09:17 +0000 (21:09 -0500)
committerKevin Lamonte <kevin.lamonte@gmail.com>
Wed, 31 Jul 2019 02:09:17 +0000 (21:09 -0500)
src/jexer/TFileOpenBox.java
src/jexer/TInputBox.java
src/jexer/TMessageBox.java

index eaa38ceea99cea1c3a4ab5e9239e77963ab8ec44..a2cc0cf7e48f2e68efebfefec3c66d14775796c9 100644 (file)
@@ -47,7 +47,7 @@ import static jexer.TKeypress.*;
  *
  * <pre>
  * {@code
- *     filename = application.fileOpenBox("/path/to/file.ext",
+ *     filename = fileOpenBox("/path/to/file.ext",
  *         TFileOpenBox.Type.OPEN);
  *     if (filename != null) {
  *         ... the user selected a file, go open it ...
index 813af8823db263e5274090796e02fbf61ec958a6..d60d0b53f5d8b7e8bc8cadb9a41cfceebc7f2873 100644 (file)
@@ -34,7 +34,7 @@ package jexer;
  *
  * <pre>
  * {@code
- *     box = application.inputBox(title, caption);
+ *     box = inputBox(title, caption);
  *     if (box.getText().equals("yes")) {
  *         ... the user entered "yes", do stuff ...
  *     }
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) {