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: | 458 / 1143 |
Version history: | 3 change(s) |
Referenced in: | [show references] |