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

9
LINES

< > BotCompany Repo | #1016618 // jLiveValueComboBox - both ways, fixed values list

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10230L/56K).

static JComboBox jLiveValueComboBox(Collection<S> values, IVarWithNotify<S> lv) {
  final JComboBox cb = jComboBox(values);
  bindComboBoxToLiveValue(cb, lv);
  ret cb;
}

static JComboBox jLiveValueComboBox(IVarWithNotify<S> lv, Collection<S> values) {
  ret jLiveValueComboBox(values, lv);
}

Author comment

Began life as a copy of #1015820

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016618
Snippet name: jLiveValueComboBox - both ways, fixed values list
Eternal ID of this version: #1016618/10
Text MD5: eae89f5bc17a610953b0c416eed05ac5
Transpilation MD5: f811ee67dd11b3ca6627d74ceb373c57
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-07 11:04:37
Source code size: 301 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 542
Version history: 9 change(s)
Referenced in: [show references]