From c96010c5b77a9ea0d6e673ff66b23d7614a3bd93 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 5 Jul 2017 21:01:34 +0200 Subject: [PATCH] ...which are now actually public. --- src/jexer/TWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);