Changeset 35535 in osm for applications/editors


Ignore:
Timestamp:
2020-08-29T21:31:05+02:00 (4 years ago)
Author:
simon04
Message:

see #19027 - Update to flatlaf 0.40

Location:
applications/editors/josm/plugins/flatlaf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/flatlaf/ivy.xml

    r35482 r35535  
    22  <info organisation="org.openstreetmap.josm.plugins" module="wikipedia"/>
    33  <dependencies>
    4     <dependency conf="default->default" org="com.formdev" name="flatlaf" rev="0.35"/>
     4    <dependency conf="default->default" org="com.formdev" name="flatlaf" rev="0.40"/>
    55  </dependencies>
    66</ivy-module>
  • applications/editors/josm/plugins/flatlaf/src/org/openstreetmap/josm/plugins/flatlaf/FlatLafPlugin.java

    r35482 r35535  
    77import org.openstreetmap.josm.plugins.PluginInformation;
    88
     9import com.formdev.flatlaf.FlatDarculaLaf;
    910import com.formdev.flatlaf.FlatDarkLaf;
     11import com.formdev.flatlaf.FlatIntelliJLaf;
    1012import com.formdev.flatlaf.FlatLightLaf;
    1113
     
    2325        super(info);
    2426        UIManager.getDefaults().put("ClassLoader", getClass().getClassLoader());
    25         UIManager.installLookAndFeel("FlatLaf Light", FlatLightLaf.class.getName());
    26         UIManager.installLookAndFeel("FlatLaf Dark", FlatDarkLaf.class.getName());
     27        FlatDarculaLaf.install();
     28        FlatDarkLaf.install();
     29        FlatIntelliJLaf.install();
     30        FlatLightLaf.install();
    2731    }
    2832
Note: See TracChangeset for help on using the changeset viewer.