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

11
LINES

< > BotCompany Repo | #1009804 // updateBotSelector

JavaX fragment (include)

static void updateBotSelector(final JComboBox cb) {
  thread {
    loading {
      L<ScannedBot> l = fullBotScan();
      setComboBoxItems(cb, sorted(map(l, func(ScannedBot b) {
        //ret "[" + b.address + "] " + b.helloString;
        ret b.helloString + " [" + b.address + "]";
      })));
    }
  }
}

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: #1009804
Snippet name: updateBotSelector
Eternal ID of this version: #1009804/1
Text MD5: 8c2e675ba4776cc5c57a2b9103f414a7
Author: stefan
Category: javax / talking robots / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-17 20:53:14
Source code size: 317 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 398
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)