diff --git a/src/jexer/TWindow.java b/src/jexer/TWindow.java index 1b44d02..a378222 100644 --- a/src/jexer/TWindow.java +++ b/src/jexer/TWindow.java @@ -308,7 +308,7 @@ public final void center() { /** * Maximize window to the current maximum size. */ - private void maximize() { + public void maximize() { if (!maximized) { restoreWindowWidth = getWidth(); restoreWindowHeight = getHeight(); @@ -327,7 +327,7 @@ private void maximize() { /** * Restore (unmaximize) window. */ - private void restore() { + public void restore() { if (maximized) { setWidth(restoreWindowWidth); setHeight(restoreWindowHeight);