SHOW:
|
|
- or go back to the newest paste.
1 | public void exit() { | |
2 | ||
3 | final Test self = this; | |
4 | ||
5 | Platform.runLater(new Runnable() { | |
6 | ||
7 | @Override | |
8 | public void run() { | |
9 | self.frame.dispose(); | |
10 | } | |
11 | ||
12 | }); | |
13 | ||
14 | Platform.exit(); | |
15 | - | Platform.exit(); |
15 | + |