Uses 911K of libraries. Click here for Pure Java version (6721L/35K).
!7 cmodule RandomDailyDialog > DynSCP { switchable bool auto = true; start { dm_doEveryIfVisible(1.0, 10.0, r { if (auto) next() }); } void next enter { setComponent(jscroll_trackWidth(jCenteredHTMLLabel(hfontsize_noCSS(5, htmlEncode_nlToBr( doubleNewLines(dailyDialogs_unplenk(random(allDailyDialogs_cached())))))))); } visual withCenteredButtons(super, "Next", rThread next, dm_checkBox('auto)); }
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: | 294 / 520 |
Version history: | 1 change(s) |
Referenced in: | -