1 | static JTextField selectAllTextField(S text) { |
2 | JTextField tf = new JTextField(text); |
3 | tf.selectAll(); |
4 | ret tf; |
5 | } |
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: | 563 / 569 |
Referenced in: | [show references] |