MCPcopy Index your code
hub / github.com/processing/processing / isWindows

Method isWindows

app/src/processing/app/Platform.java:263–266  ·  view source on GitHub ↗

returns true if running on windows.

()

Source from the content-addressed store, hash-verified

261 * returns true if running on windows.
262 */
263 static public boolean isWindows() {
264 //return PApplet.platform == PConstants.WINDOWS;
265 return System.getProperty("os.name").indexOf("Windows") != -1; //$NON-NLS-1$ //$NON-NLS-2$
266 }
267
268
269 /**

Callers 13

initMethod · 0.95
getContentFileMethod · 0.95
getJavaPathMethod · 0.95
runMethod · 0.95
BaseMethod · 0.95
installMethod · 0.95
mousePressedMethod · 0.95
PreferencesFrameMethod · 0.95
createColorFieldsMethod · 0.95
CommanderMethod · 0.95
exportApplicationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected