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

Method selectOutput

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

Source from the content-addressed store, hash-verified

1323
1324
1325 @Override
1326 public void selectOutput(String prompt, String callbackMethod,
1327 File file, Object callbackObject) {
1328 EventQueue.invokeLater(() -> {
1329 // https://github.com/processing/processing/issues/3831
1330 boolean hide = (sketch != null) &&
1331 (PApplet.platform == PConstants.WINDOWS);
1332 if (hide) setVisible(false);
1333
1334 ShimAWT.selectImpl(prompt, callbackMethod, file,
1335 callbackObject, null, FileDialog.SAVE);
1336
1337 if (hide) setVisible(true);
1338 });
1339 }
1340
1341
1342 @Override

Callers

nothing calls this directly

Calls 2

setVisibleMethod · 0.95
selectImplMethod · 0.95

Tested by

no test coverage detected