fix problem with HTML dialogs like the one for the Android SDK

This commit is contained in:
benfry
2009-11-30 16:12:16 +00:00
parent ed56e85033
commit 804b27cda8
+3 -1
View File
@@ -1754,7 +1754,9 @@ public class Base {
String primary, String secondary) {
if (!Base.isMacOS()) {
return JOptionPane.showConfirmDialog(editor,
primary + "\n" + secondary, title,
"<html><body>" +
"<b>" + primary + "</b>" +
"<br>" + secondary, title,
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE);
} else {