This commit is contained in:
Konloch 2021-07-04 21:50:41 -07:00
parent bfc832ada8
commit 83e90cc276

View file

@ -18,6 +18,8 @@ package the.bytecode.club.bytecodeviewer.gui.components;
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
import the.bytecode.club.bytecodeviewer.BytecodeViewer;
/**
* A simple console GUI.
*
@ -29,6 +31,8 @@ public class SystemErrConsole extends JFrameConsolePrintStream
public SystemErrConsole(String title)
{
super(title, System.err);
if(!BytecodeViewer.DEV_MODE)
System.setErr(getNewPrintStream());
}