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

11
LINES

< > BotCompany Repo | #1009804 // updateBotSelector

JavaX fragment (include)

1  
static void updateBotSelector(final JComboBox cb) {
2  
  thread {
3  
    loading {
4  
      L<ScannedBot> l = fullBotScan();
5  
      setComboBoxItems(cb, sorted(map(l, func(ScannedBot b) {
6  
        //ret "[" + b.address + "] " + b.helloString;
7  
        ret b.helloString + " [" + b.address + "]";
8  
      })));
9  
    }
10  
  }
11  
}

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: 362 / 396
Referenced in: [show references]