Libraryless. Click here for Pure Java version (4938L/32K).
1 | !7 |
2 | |
3 | sclass DummyAnswers extends DynModule { |
4 | transient JPanel stack; |
5 | |
6 | JComponent visualize() { |
7 | ret stack = dynamicVStack2(); |
8 | } |
9 | |
10 | void unvisualize() { stack = null; } |
11 | |
12 | void update { |
13 | S s = dm_getInterestingString(); |
14 | removeAllComponents(stack); |
15 | addComponent(stack, jMultiLineLabel("What? " + s + "???")); |
16 | addComponent(stack, jMultiLineLabel("Oh come on! " + s + "???")); |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016348 |
Snippet name: | Dummy Answers [Dyn Module] |
Eternal ID of this version: | #1016348/3 |
Text MD5: | 849373416fe8ba9f7c1409036f1c8993 |
Transpilation MD5: | 36681f274d5748a4ceaf136b09f806a8 |
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-07-04 18:37:40 |
Source code size: | 424 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 527 / 682 |
Version history: | 2 change(s) |
Referenced in: | [show references] |