Libraryless. Click here for Pure Java version (9688L/54K).
1 | static JSpinner jSpinner() swing { |
2 | new JSpinner s; |
3 | ret jSpinnerCommitOnValidEdit(s); |
4 | } |
5 | |
6 | static JSpinner jSpinner(int value) swing { |
7 | new JSpinner s; |
8 | s.setValue(value); |
9 | ret jSpinnerCommitOnValidEdit(s); |
10 | } |
11 | |
12 | static JSpinner jSpinner(int value default min, int min, int max) swing { |
13 | ret jSpinnerCommitOnValidEdit(new JSpinner(new SpinnerNumberModel(value, min, max, 1))); |
14 | } |
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: | #1006937 |
Snippet name: | jSpinner |
Eternal ID of this version: | #1006937/11 |
Text MD5: | 4549cafccbeaa1c07aca06e668464285 |
Transpilation MD5: | 9efae37ed55806cdcc75b70b6d786835 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-11-26 22:20:21 |
Source code size: | 395 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 563 / 699 |
Version history: | 10 change(s) |
Referenced in: | [show references] |