Changeset 2708 in josm
- Timestamp:
- 2009-12-30T00:59:21+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r2613 r2708 308 308 309 309 try { 310 String defaultlaf = platform.getDefaultStyle(); 310 311 try { 311 String laf = Main.pref.get("laf", platform.getDefaultStyle());312 String laf = Main.pref.get("laf", defaultlaf); 312 313 if(laf != null && laf.length() > 0) { 313 314 UIManager.setLookAndFeel(laf); 314 315 } 315 316 } 317 catch (final java.lang.ClassNotFoundException e) { 318 System.out.println("Look and Feel not found: " + Main.pref.get("laf")); 319 Main.pref.put("laf", defaultlaf); 320 } 316 321 catch (final javax.swing.UnsupportedLookAndFeelException e) { 317 322 System.out.println("Look and Feel not supported: " + Main.pref.get("laf")); 323 Main.pref.put("laf", defaultlaf); 318 324 } 319 325 toolbar = new ToolbarPreferences();
Note:
See TracChangeset
for help on using the changeset viewer.