correctly set the error display gui to not be editable
All checks were successful
Publish to snapshot maven / build (push) Successful in 16s

This commit is contained in:
moehreag 2024-06-08 11:34:51 +02:00
parent e13683d215
commit b75760936d

View file

@ -266,7 +266,7 @@ public class LoaderGui {
pane.add(title, BorderLayout.NORTH); pane.add(title, BorderLayout.NORTH);
JTextPane error = new JTextPane(); JTextPane error = new JTextPane();
title.setEditable(false); error.setEditable(false);
StringWriter writer = new StringWriter(); StringWriter writer = new StringWriter();
throwable.printStackTrace(new PrintWriter(writer)); throwable.printStackTrace(new PrintWriter(writer));
error.setText(writer.toString()); error.setText(writer.toString());