Transpiled version (5035L) is out of date.
// TODO: typing a number doesn't seem to work? static <A> JSpinner jListSpinner(L<A> entries, A defaultValue default first(entries)) { ret swing(-> { new JSpinner s; s.setModel(new SpinnerListModel(entries)); if (contains(entries, defaultValue)) setSpinnerValue(s, defaultValue); ret s; }); }
Began life as a copy of #1006937
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1033691 |
Snippet name: | jListSpinner |
Eternal ID of this version: | #1033691/6 |
Text MD5: | e8ff211ad8765a059400536a7b521e0f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-25 21:37:04 |
Source code size: | 327 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 176 / 269 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033692 - jPowersOfTwoSpinner #1034938 - spinnerSetNumberList |