static JTextField selectAllTextField(S text) { JTextField tf = new JTextField(text); tf.selectAll(); ret tf; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005650 |
Snippet name: | selectAllTextField - make JTextField with selectAll() |
Eternal ID of this version: | #1005650/1 |
Text MD5: | 289abf6e188d4177aa1b9d4dee8d785c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-30 17:22:09 |
Source code size: | 120 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 562 / 568 |
Referenced in: | [show references] |