Uses 911K of libraries. Click here for Pure Java version (6721L/35K).
1 | !7 |
2 | |
3 | cmodule RandomDailyDialog > DynSCP { |
4 | switchable bool auto = true; |
5 | |
6 | start { |
7 | dm_doEveryIfVisible(1.0, 10.0, r { if (auto) next() }); |
8 | } |
9 | |
10 | void next enter { |
11 | setComponent(jscroll_trackWidth(jCenteredHTMLLabel(hfontsize_noCSS(5, htmlEncode_nlToBr( |
12 | doubleNewLines(dailyDialogs_unplenk(random(allDailyDialogs_cached())))))))); |
13 | } |
14 | |
15 | visual withCenteredButtons(super, "Next", rThread next, dm_checkBox('auto)); |
16 | } |
Began life as a copy of #1021177
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, iveijnkanddl, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023131 |
Snippet name: | Random "Daily Dialog" (dataset of conversations) v2 |
Eternal ID of this version: | #1023131/2 |
Text MD5: | 815efdd55dfc4f0b98184d0a0a849e5d |
Transpilation MD5: | 1e3efc6e55726afcb70f04c1847af234 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-13 11:39:48 |
Source code size: | 450 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 295 / 523 |
Version history: | 1 change(s) |
Referenced in: | [show references] |