Closes the window
()
| 350 | * Closes the window |
| 351 | */ |
| 352 | public void handleClose() { |
| 353 | Preferences.save(); // save the "show this" setting |
| 354 | |
| 355 | if (newSketchbook) { |
| 356 | File folder = new File(Preferences.getSketchbookPath()).getParentFile(); |
| 357 | PApplet.selectFolder(Language.text("preferences.sketchbook_location.popup"), |
| 358 | "sketchbookCallback", folder, this, this); |
| 359 | } |
| 360 | dispose(); |
| 361 | } |
| 362 | } |
no test coverage detected