This commit is contained in:
Konloch 2021-07-04 21:50:41 -07:00
parent bfc832ada8
commit 83e90cc276
1 changed files with 5 additions and 1 deletions

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,7 +31,9 @@ public class SystemErrConsole extends JFrameConsolePrintStream
public SystemErrConsole(String title)
{
super(title, System.err);
System.setErr(getNewPrintStream());
if(!BytecodeViewer.DEV_MODE)
System.setErr(getNewPrintStream());
}
private static final long serialVersionUID = -6556940545421437508L;