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

14
LINES

< > BotCompany Repo | #1019776 // dm_onlineComputerSelectorComboBox [dev.]

JavaX fragment (include)

1  
static JComboBox dm_onlineComputerSelectorComboBox(SimpleLiveValue<S> lvComputerID) {
2  
  final JComboBox cb = jLiveValueComboBox(emptyStringPlus(dm_onlineComputerIDs()), lvComputerID);
3  
  final new Var<AutoCloseable> listener;
4  
  bindToComponent(cb, r {
5  
    /*listener.set(vmBus_onModulesListChange(r { awt {
6  
        S selected = squareBracketStuff(selectedItem(cb));
7  
        LS l = emptyStringPlus(dm_listModuleIDsAndNames());
8  
        setComboBoxItems(cb, l);
9  
        setSelectedIndex(cb, indexOfStringWithSquareBracketStuffEq(l, selected));
10  
      }
11  
    }));*/
12  
  }, r { close(listener!) });
13  
  ret cb;
14  
}

Author comment

Began life as a copy of #1019124

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019776
Snippet name: dm_onlineComputerSelectorComboBox [dev.]
Eternal ID of this version: #1019776/1
Text MD5: 09afec09d508f0ead28d1e0c196daf8f
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-25 20:34:47
Source code size: 613 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 280 / 303
Referenced in: [show references]