static JTextField setTextAndSelectAll(final JTextField tf, fS text) { if (tf != null) swing { tf.setText(text); tf.selectAll(); } ret tf; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006208 |
Snippet name: | setTextAndSelectAll |
Eternal ID of this version: | #1006208/3 |
Text MD5: | 2c4d30dd72e0bd703b0fb9427d472a97 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-31 04:36:00 |
Source code size: | 159 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 510 / 547 |
Version history: | 2 change(s) |
Referenced in: | [show references] |