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

22
LINES

< > BotCompany Repo | #1015907 // Last Run Programs [DynModule]

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

Libraryless. Click here for Pure Java version (15530L/112K).

!7

sclass LastRunPrograms extends DynModule {
  L<SS> result;
  
  transient JTable table;
  transient ReliableSingleThread rst = new(r update);

  JComponent visualize() {
    ret table = lastRunTable_addRunAction(uneditableTableWithData(result));
  }
  void unvisualize() { table = null; }
  
  void start {
    ownTimer(tailFile_future(programFile(#1000825, "run.log"), 1000, rst).timer);
    rst.trigger();
  }
  
  void update {
    result = lastRunTable_update(table);
  }
}

Author comment

Began life as a copy of #1015869

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015907
Snippet name: Last Run Programs [DynModule]
Eternal ID of this version: #1015907/7
Text MD5: 158f5777f53a8a3185f2115b9cb75e47
Transpilation MD5: 50063494bcba03ef8bb23e0b08a072aa
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-10 20:35:49
Source code size: 504 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 362
Version history: 6 change(s)
Referenced in: [show references]