Changeset 35535 in osm for applications
- Timestamp:
- 2020-08-29T21:31:05+02:00 (4 years ago)
- Location:
- applications/editors/josm/plugins/flatlaf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/flatlaf/ivy.xml
r35482 r35535 2 2 <info organisation="org.openstreetmap.josm.plugins" module="wikipedia"/> 3 3 <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"/> 5 5 </dependencies> 6 6 </ivy-module> -
applications/editors/josm/plugins/flatlaf/src/org/openstreetmap/josm/plugins/flatlaf/FlatLafPlugin.java
r35482 r35535 7 7 import org.openstreetmap.josm.plugins.PluginInformation; 8 8 9 import com.formdev.flatlaf.FlatDarculaLaf; 9 10 import com.formdev.flatlaf.FlatDarkLaf; 11 import com.formdev.flatlaf.FlatIntelliJLaf; 10 12 import com.formdev.flatlaf.FlatLightLaf; 11 13 … … 23 25 super(info); 24 26 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(); 27 31 } 28 32
Note:
See TracChangeset
for help on using the changeset viewer.