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

4
LINES

< > BotCompany Repo | #1033570 // getTextFieldFromSpinner

JavaX fragment (include) [tags: use-pretranspiled]

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: 23 / 44
Version history: 2 change(s)
Referenced in: [show references]