Libraryless. Click here for Pure Java version (4699L/26K).
static JFormattedTextField getTextFieldFromSpinner(JSpinner spinner) { ret spinner == null ?: swing(-> ((JSpinner.DefaultEditor) spinner.getEditor()).getTextField()); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033570 |
Snippet name: | getTextFieldFromSpinner |
Eternal ID of this version: | #1033570/3 |
Text MD5: | c751cb978b5c93d720df9242bdd37ad2 |
Transpilation MD5: | 7e4ac7bac69d51448eed3ca5d669edc7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-03 19:13:54 |
Source code size: | 177 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 219 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033571 - jSpinnerCommitOnValidEdit #1033705 - rightAlignSpinner |