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