Libraryless. Click here for Pure Java version (14451L/99K).
1 | !7 |
2 | |
3 | module RandomSpeechLogLines {
|
4 | S line; |
5 | |
6 | start {
|
7 | setModuleName("Random Speech Log Line (of " + n2(dm_speechLog(), "line") + ")");
|
8 | } |
9 | |
10 | visualize {
|
11 | JLabel lbl = fontSizePlus(3, dm_centeredFieldLabel('line));
|
12 | awtCalcEvery(lbl, |
13 | 0.0, 5.0, r {
|
14 | setField(line := random(dm_speechLog())); |
15 | }); |
16 | ret lbl; |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020559 |
| Snippet name: | Show Random Speech Log Lines |
| Eternal ID of this version: | #1020559/7 |
| Text MD5: | 40c041b62c5476fa1e0620ae2be70ba2 |
| Transpilation MD5: | 817fa6e59634ad864934bffae9725f42 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-26 21:49:52 |
| Source code size: | 364 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 533 / 689 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |