@@ -213,12 +213,7 @@ static public void guardedMain(String args[]) throws Exception {
213213 try {
214214 BaseNoGui .getPlatform ().setLookAndFeel ();
215215 } catch (Exception e ) {
216- String mess = e .getMessage ();
217- if (mess .indexOf ("ch.randelshofer.quaqua.QuaquaLookAndFeel" ) == -1 ) {
218- System .err .println (_ ("Non-fatal error while setting the Look & Feel." ));
219- System .err .println (_ ("The error message follows, however Arduino should run fine." ));
220- System .err .println (mess );
221- }
216+ // ignore
222217 }
223218
224219 // Create a location for untitled sketches
@@ -2068,8 +2063,6 @@ static public int showYesNoCancelQuestion(Editor editor, String title,
20682063// }
20692064
20702065 } else {
2071- // Pane formatting adapted from the Quaqua guide
2072- // http://www.randelshofer.ch/quaqua/guide/joptionpane.html
20732066 JOptionPane pane =
20742067 new JOptionPane ("<html> " +
20752068 "<head> <style type=\" text/css\" >" +
@@ -2089,11 +2082,6 @@ static public int showYesNoCancelQuestion(Editor editor, String title,
20892082 // highlight the safest option ala apple hig
20902083 pane .setInitialValue (options [0 ]);
20912084
2092- // on macosx, setting the destructive property places this option
2093- // away from the others at the lefthand side
2094- pane .putClientProperty ("Quaqua.OptionPane.destructiveOption" ,
2095- new Integer (2 ));
2096-
20972085 JDialog dialog = pane .createDialog (editor , null );
20982086 dialog .setVisible (true );
20992087
@@ -2133,8 +2121,6 @@ static public int showYesNoQuestion(Frame editor, String title,
21332121 JOptionPane .YES_NO_OPTION ,
21342122 JOptionPane .QUESTION_MESSAGE );
21352123 } else {
2136- // Pane formatting adapted from the Quaqua guide
2137- // http://www.randelshofer.ch/quaqua/guide/joptionpane.html
21382124 JOptionPane pane =
21392125 new JOptionPane ("<html> " +
21402126 "<head> <style type=\" text/css\" >" +
0 commit comments