X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTMessageBox.java;h=6104d9f9783525d640fa74641f0e6d8f9efa6b27;hb=107bba162165a2e6fc88913065f52c14d04b3883;hp=4c453790fbeff1f941b284e49903fe4bd2e59a2e;hpb=615a0d99fd0aa4437116dd083147f9150d5e6527;p=fanfix.git diff --git a/src/jexer/TMessageBox.java b/src/jexer/TMessageBox.java index 4c45379..6104d9f 100644 --- a/src/jexer/TMessageBox.java +++ b/src/jexer/TMessageBox.java @@ -131,15 +131,6 @@ public class TMessageBox extends TWindow { */ private Result result = Result.OK; - /** - * Get the result. - * - * @return the result: OK, CANCEL, YES, or NO. - */ - public final Result getResult() { - return result; - } - // ------------------------------------------------------------------------ // Constructors ----------------------------------------------------------- // ------------------------------------------------------------------------ @@ -418,4 +409,17 @@ public class TMessageBox extends TWindow { super.onKeypress(keypress); } + // ------------------------------------------------------------------------ + // TMessageBox ------------------------------------------------------------ + // ------------------------------------------------------------------------ + + /** + * Get the result. + * + * @return the result: OK, CANCEL, YES, or NO. + */ + public final Result getResult() { + return result; + } + }