static JComboBox dm_onlineComputerSelectorComboBox(SimpleLiveValue<S> lvComputerID) { final JComboBox cb = jLiveValueComboBox(emptyStringPlus(dm_onlineComputerIDs()), lvComputerID); final new Var<AutoCloseable> listener; bindToComponent(cb, r { /*listener.set(vmBus_onModulesListChange(r { awt { S selected = squareBracketStuff(selectedItem(cb)); LS l = emptyStringPlus(dm_listModuleIDsAndNames()); setComboBoxItems(cb, l); setSelectedIndex(cb, indexOfStringWithSquareBracketStuffEq(l, selected)); } }));*/ }, r { close(listener!) }); ret cb; }
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: | 583 / 612 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |