MCPcopy Index your code
hub / github.com/benfry/processing4 / selectFolder

Method selectFolder

core/src/processing/opengl/PSurfaceJOGL.java:1342–1356  ·  view source on GitHub ↗
(String prompt, String callbackMethod,
                           File file, Object callbackObject)

Source from the content-addressed store, hash-verified

1340
1341
1342 @Override
1343 public void selectFolder(String prompt, String callbackMethod,
1344 File file, Object callbackObject) {
1345 EventQueue.invokeLater(() -> {
1346 // https://github.com/processing/processing/issues/3831
1347 boolean hide = (sketch != null) &&
1348 (PApplet.platform == PConstants.WINDOWS);
1349 if (hide) setVisible(false);
1350
1351 ShimAWT.selectFolderImpl(prompt, callbackMethod, file,
1352 callbackObject, null);
1353
1354 if (hide) setVisible(true);
1355 });
1356 }
1357}

Callers

nothing calls this directly

Calls 2

setVisibleMethod · 0.95
selectFolderImplMethod · 0.95

Tested by

no test coverage detected