(String prompt, String callbackMethod,
File file, Object callbackObject)
| 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 | } |
nothing calls this directly
no test coverage detected