Changeset 35541 in osm


Ignore:
Timestamp:
2020-08-30T21:32:35+02:00 (4 years ago)
Author:
simon04
Message:

see #19027 - Use UIManager.installLookAndFeel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/flatlaf/src/org/openstreetmap/josm/plugins/flatlaf/FlatLafPlugin.java

    r35535 r35541  
    2525        super(info);
    2626        UIManager.getDefaults().put("ClassLoader", getClass().getClassLoader());
    27         FlatDarculaLaf.install();
    28         FlatDarkLaf.install();
    29         FlatIntelliJLaf.install();
    30         FlatLightLaf.install();
     27        UIManager.installLookAndFeel("FlatLaf Darcula", FlatDarculaLaf.class.getName());
     28        UIManager.installLookAndFeel("FlatLaf Dark", FlatDarkLaf.class.getName());
     29        UIManager.installLookAndFeel("FlatLaf IntelliJ", FlatIntelliJLaf.class.getName());
     30        UIManager.installLookAndFeel("FlatLaf Light", FlatLightLaf.class.getName());
    3131    }
    3232
Note: See TracChangeset for help on using the changeset viewer.