Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7724L/52K).
1 | !7 |
2 | |
3 | p-noconsole {
|
4 | showSuggestion("Run program #123 - bla bla blubb blubb?", r {
|
5 | infoBox("Yo")
|
6 | }); |
7 | } |
8 | |
9 | // runs action in new thread |
10 | svoid showSuggestion(S suggestionText, fO action) {
|
11 | int fontSize = 20, buttonFontSize = 15; |
12 | showPackedFrameInBottomRightCorner( |
13 | withLineBorder(Color.black, withMargin( |
14 | centerAndSouth( |
15 | fontSize(fontSize, jCenteredMultiLineLabel(suggestionText)), |
16 | withTopMargin(makeFirstButtonBold(fontSizeAll(buttonFontSize, jcenteredbuttons( |
17 | "OK", r {
|
18 | disposeWindow(); |
19 | callFInNewThread(action); |
20 | }, "No", f disposeWindow)))))))); |
21 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015578 |
| Snippet name: | Show Suggestion Spike |
| Eternal ID of this version: | #1015578/15 |
| Text MD5: | 0d775eac914dcbf9546a14177bfdff67 |
| Transpilation MD5: | 72cbc0d5a485dfa936f5120d2c48321d |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-27 00:43:17 |
| Source code size: | 645 bytes / 21 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 763 / 2055 |
| Version history: | 14 change(s) |
| Referenced in: | [show references] |