1 | static bool confirmYesNo(S msg) {
|
2 | ret confirmYesNo(null, msg); |
3 | } |
4 | |
5 | static bool confirmYesNo(final Component owner, fS msg) {
|
6 | ret (bool) swing(func { JOptionPane.showConfirmDialog(owner,
|
7 | msg, "JavaX", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION }); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003679 |
| Snippet name: | confirmYesNo - Swing confirmation dialog |
| Eternal ID of this version: | #1003679/4 |
| Text MD5: | 4b53453941bd200504f4d1d27e0197b8 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-08 21:45:19 |
| Source code size: | 272 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1120 / 1089 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |