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

9
LINES

< > BotCompany Repo | #1015948 // Test yesNoComboBox (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7659L/51K).

!7

p {
  final JComboBox cb = yesNoComboBox(false, voidfunc(bool b) { print("trigger: " + b) });
  onSelectedItem(cb, voidfunc(S s) { print("onSelectedItem: " + s); });
  addActionListener(cb, r { print("actionlistener. selectedItem: " + selectedItem(cb)); });
  addItemListener(cb, itemListener(r { print("itemlistener. selectedItem: " + selectedItem(cb)); }));
  showForm(+cb);
}

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: #1015948
Snippet name: Test yesNoComboBox (OK)
Eternal ID of this version: #1015948/4
Text MD5: 156e91a41aa63c1e400fe1bbe8150948
Transpilation MD5: b31d602bb18d71457a33eba37c1f5eb8
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-31 17:52:46
Source code size: 390 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 1148
Version history: 3 change(s)
Referenced in: