Changeset 15740 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2020-01-20T23:18:38+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r15496 r15740 71 71 } 72 72 73 private static boolean isRunningJavaWebStart() {74 try {75 // See http://stackoverflow.com/a/16200769/225717276 return Class.forName("javax.jnlp.ServiceManager") != null;77 } catch (ClassNotFoundException e) {78 return false;79 }80 }81 82 73 /** 83 74 * Replies the report header (software and system info) … … 129 120 } 130 121 // Add WebStart package details if run from JNLP 131 if ( isRunningJavaWebStart()) {122 if (Utils.isRunningJavaWebStart()) { 132 123 String webStartDetails = platform.getWebStartPackageDetails(); 133 124 if (webStartDetails != null) {
Note:
See TracChangeset
for help on using the changeset viewer.