(String prompt, String callbackMethod,
File file, Object callbackObject)
| 1306 | |
| 1307 | |
| 1308 | @Override |
| 1309 | public void selectInput(String prompt, String callbackMethod, |
| 1310 | File file, Object callbackObject) { |
| 1311 | EventQueue.invokeLater(() -> { |
| 1312 | // https://github.com/processing/processing/issues/3831 |
| 1313 | boolean hide = (sketch != null) && |
| 1314 | (PApplet.platform == PConstants.WINDOWS); |
| 1315 | if (hide) setVisible(false); |
| 1316 | |
| 1317 | ShimAWT.selectImpl(prompt, callbackMethod, file, |
| 1318 | callbackObject, null, FileDialog.LOAD); |
| 1319 | |
| 1320 | if (hide) setVisible(true); |
| 1321 | }); |
| 1322 | } |
| 1323 | |
| 1324 | |
| 1325 | @Override |
nothing calls this directly
no test coverage detected