mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge pull request #3370 from joelmoniz/ModeErrorFix
Mode problems dialog now displays vertically
This commit is contained in:
@@ -2076,8 +2076,9 @@ public class Base {
|
||||
t.printStackTrace(new PrintWriter(sw));
|
||||
// Necessary to replace \n with <br/> (even if pre) otherwise Java
|
||||
// treats it as a closed tag and reverts to plain formatting.
|
||||
message = "<html>" + message + "<br/><font size=2><br/>" +
|
||||
sw.toString().replaceAll("\n", "<br/>");
|
||||
message = "<html>" + message.replaceAll("\n", "<br/>") +
|
||||
"<br/><font size=2><br/>" +
|
||||
sw.toString().replaceAll("\n", "<br/>") + "</html>";
|
||||
|
||||
JOptionPane.showMessageDialog(new Frame(), message, title,
|
||||
fatal ?
|
||||
|
||||
Reference in New Issue
Block a user