- Timestamp:
- 2010-09-17T10:29:14+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/TaggingPresetPreference.java
r3336 r3534 58 58 canLoad = true; 59 59 } catch (IOException e) { 60 System.err.println(tr("Warning: Could not read tagging preset source: {0}", source)); 60 61 ExtendedDialog ed = new ExtendedDialog(Main.parent, tr("Error"), 61 62 new String[] {tr("Yes"), tr("No"), tr("Cancel")}); … … 80 81 } catch (IOException e) { 81 82 // Should not happen, but at least show message 82 JOptionPane.showMessageDialog(Main.parent, tr("Could not read tagging preset source {0}", source)); 83 String msg = tr("Could not read tagging preset source {0}", source); 84 System.err.println(msg); 85 JOptionPane.showMessageDialog(Main.parent, msg); 83 86 return false; 84 87 } catch (SAXParseException e) { … … 106 109 107 110 if (errorMessage != null) { 111 System.err.println("Error: "+errorMessage); 108 112 int result = JOptionPane.showConfirmDialog(Main.parent, new JLabel(errorMessage), tr("Error"), 109 113 JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE);
Note:
See TracChangeset
for help on using the changeset viewer.