}
// ------------------------------------------------------------------------
- // TMessageBox ------------------------------------------------------------
+ // TInputBox --------------------------------------------------------------
// ------------------------------------------------------------------------
// ------------------------------------------------------------------------
- // TInputBox --------------------------------------------------------------
+ // TMessageBox ------------------------------------------------------------
// ------------------------------------------------------------------------
/**
*/
private Result result = Result.OK;
- /**
- * Get the result.
- *
- * @return the result: OK, CANCEL, YES, or NO.
- */
- public final Result getResult() {
- return result;
- }
-
// ------------------------------------------------------------------------
// Constructors -----------------------------------------------------------
// ------------------------------------------------------------------------
super.onKeypress(keypress);
}
+ // ------------------------------------------------------------------------
+ // TMessageBox ------------------------------------------------------------
+ // ------------------------------------------------------------------------
+
+ /**
+ * Get the result.
+ *
+ * @return the result: OK, CANCEL, YES, or NO.
+ */
+ public final Result getResult() {
+ return result;
+ }
+
}
}
+ /**
+ * Handle window close.
+ */
+ @Override
+ public void onClose() {
+ emulator.close();
+ if (shell != null) {
+ terminateShellChildProcess();
+ shell.destroy();
+ shell = null;
+ }
+ }
+
/**
* Handle window/screen resize events.
*
} // synchronized (emulator)
}
- /**
- * Handle window close.
- */
- @Override
- public void onClose() {
- emulator.close();
- if (shell != null) {
- terminateShellChildProcess();
- shell.destroy();
- shell = null;
- }
- }
-
/**
* Handle keystrokes.
*