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

19
LINES

< > BotCompany Repo | #1017252 // Local Mech Lists [Dyn Module]

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

Libraryless. Click here for Pure Java version (14663L/103K).

!7

sclass LocalMechLists extends DynCalculatedList {
  SS listToMD5;

  visualize {
    JComponent c = super.visualize();
    onDoubleClickOrEnter(list, voidfunc(S listName) {
      showText(listName, localMechList_opt_raw_fresh(listName))
    });
    ret c;
  }
  
  start { doEvery(10000, r updateMe); }
  
  L<S> calc() {
    ret sortedIC(map loadTextFile(filesInDirWithExtension(localMechListsDir(), ".name")));
  }
}

Author comment

Began life as a copy of #1016073

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: #1017252
Snippet name: Local Mech Lists [Dyn Module]
Eternal ID of this version: #1017252/5
Text MD5: eae061dc8638f62efa599d024de7a4b1
Transpilation MD5: b0bb0c94295100c9a7b94829e75660c3
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 16:35:38
Source code size: 440 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 5694
Version history: 4 change(s)
Referenced in: [show references]