Ignore:
Timestamp:
2008-12-28T15:21:13+01:00 (15 years ago)
Author:
stoecker
Message:

fixed NPE's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/Main.java

    r1169 r1188  
    392392
    393393        try {
    394             UIManager.setLookAndFeel(Main.pref.get("laf"));
     394            try {
     395              UIManager.setLookAndFeel(Main.pref.get("laf"));
     396            }
     397            catch (final javax.swing.UnsupportedLookAndFeelException e) {
     398                System.out.println("Look and Feel not supported: " + Main.pref.get("laf"));
     399            }
    395400            toolbar = new ToolbarPreferences();
    396401            contentPane.updateUI();
Note: See TracChangeset for help on using the changeset viewer.