Changeset 6920 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
- Timestamp:
- 2014-03-21T17:31:18+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r6850 r6920 72 72 Shortcut.registerSystemShortcut("system:resetX", tr("reserved"), KeyEvent.VK_BACK_SPACE, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK).setAutomatic(); 73 73 } 74 74 75 75 /** 76 76 * This should work for all platforms. Yeah, should. … … 122 122 } 123 123 } 124 124 125 125 /** 126 126 * Get the package name including detailed version. … … 137 137 } 138 138 } 139 139 140 140 /** 141 141 * Get the Java package name including detailed version. … … 166 166 return null; 167 167 } 168 168 169 169 /** 170 170 * Get the Web Start package name including detailed version. 171 171 * 172 * Debian and Ubuntu OpenJDK packages are shipped with icedtea-web package, 172 * Debian and Ubuntu OpenJDK packages are shipped with icedtea-web package, 173 173 * but its version does not match main java package version. 174 * 174 * 175 175 * Only Debian based distributions are covered at the moment. 176 176 * This can be extended to other distributions if needed. 177 * 177 * 178 178 * Simply return {@code null} if there's no separate package for Java WebStart. 179 179 * … … 323 323 } 324 324 } 325 325 326 326 protected void askUpdateJava(String version) { 327 327 try { … … 339 339 "<b>"+tr("JOSM will soon stop working with this version; we highly recommend you to update to Java {0}.", "7")+"</b><br><br>"+ 340 340 tr("Would you like to update now ?")); 341 341 342 342 if (ed.showDialog().getValue() == 1) { 343 openUrl("http ://www.java.com/download");343 openUrl("https://www.java.com/download"); 344 344 } 345 345 }
Note:
See TracChangeset
for help on using the changeset viewer.