Libraryless. Click here for Pure Java version (14349L/99K).
!7 sS icons = [[ #1101394 - creditcard #1101393 - money #1101392 - favorite-fridge #1101391 - cart #1101390 - error #1101389 - trash #1101388 - read #1101387 - remove #1101386 - phone #1101385 - info #1101384 - mail #1101383 - food-bowl #1101382 - client ]]; sclass Smiley > DynSCP { start { doEvery(5000, r revisualize2); } JComponent visualize2() { S imageID = first(random(map(tlft(icons), func(S s) -> LS { splitAt(s, " - ") }))); ret jimage(imageID); } }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018411 |
Snippet name: | Random Cat Smilies |
Eternal ID of this version: | #1018411/7 |
Text MD5: | 9191aba2afa133f558ed2d403a724f52 |
Transpilation MD5: | 9055b586126d41168adf44d82cfa0c7d |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-14 16:52:28 |
Source code size: | 537 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 379 / 546 |
Version history: | 6 change(s) |
Referenced in: | [show references] |