Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

18
LINES

< > BotCompany Repo | #1016348 // Dummy Answers [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (4938L/32K).

!7

sclass DummyAnswers extends DynModule {
  transient JPanel stack;
  
  JComponent visualize() {
    ret stack = dynamicVStack2();
  }
  
  void unvisualize() { stack = null; }
  
  void update {
    S s = dm_getInterestingString();
    removeAllComponents(stack);
    addComponent(stack, jMultiLineLabel("What? " + s + "???"));
    addComponent(stack, jMultiLineLabel("Oh come on! " + s + "???"));
  }
}

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: 442 / 567
Version history: 2 change(s)
Referenced in: [show references]