Changeset 1198 in josm


Ignore:
Timestamp:
2008-12-31T17:19:31+01:00 (16 years ago)
Author:
stoecker
Message:

fixed illegal access

File:
1 edited

Legend:

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

    r1195 r1198  
    393393        try {
    394394            try {
    395               UIManager.setLookAndFeel(Main.pref.get("laf"));
     395                String laf = Main.pref.get("laf");
     396                if(laf != null && laf.length() > 0)
     397                    UIManager.setLookAndFeel(laf);
    396398            }
    397399            catch (final javax.swing.UnsupportedLookAndFeelException e) {
Note: See TracChangeset for help on using the changeset viewer.