Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7724L/52K).
!7 p-noconsole { showSuggestion("Run program #123 - bla bla blubb blubb?", r { infoBox("Yo") }); } // runs action in new thread svoid showSuggestion(S suggestionText, fO action) { int fontSize = 20, buttonFontSize = 15; showPackedFrameInBottomRightCorner( withLineBorder(Color.black, withMargin( centerAndSouth( fontSize(fontSize, jCenteredMultiLineLabel(suggestionText)), withTopMargin(makeFirstButtonBold(fontSizeAll(buttonFontSize, jcenteredbuttons( "OK", r { disposeWindow(); callFInNewThread(action); }, "No", f disposeWindow)))))))); }
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: | 764 / 2057 |
| Version history: | 14 change(s) |
| Referenced in: | #1015588 - Test showSuggestion - show two suggestions, the second replacing the first (OK) |