1 | static JTextField setTextAndSelectAll(final JTextField tf, fS text) { |
2 | if (tf != null) swing { |
3 | tf.setText(text); |
4 | tf.selectAll(); |
5 | } |
6 | ret tf; |
7 | } |
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: | 512 / 549 |
Version history: | 2 change(s) |
Referenced in: | [show references] |