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