Changeset 16531 in josm for trunk/src/org


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

ShowStatusReportAction: add LookAndFeel

File:
1 edited

Legend:

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

    r16509 r16531  
    2222import java.util.Map;
    2323import java.util.Map.Entry;
     24import java.util.Optional;
    2425import java.util.Set;
    2526import java.util.stream.Collectors;
     27
     28import javax.swing.UIManager;
    2629
    2730import org.openstreetmap.josm.data.Preferences;
     
    9295            .append(getSystemProperty("java.vendor")).append(", ")
    9396            .append(getSystemProperty("java.vm.name"))
     97            .append("\nLook and Feel: ")
     98            .append(Optional.ofNullable(UIManager.getLookAndFeel()).map(laf -> laf.getClass().getName()).orElse("null"))
    9499            .append("\nScreen: ");
    95100        if (!GraphicsEnvironment.isHeadless()) {
Note: See TracChangeset for help on using the changeset viewer.