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

4
LINES

< > BotCompany Repo | #1022805 // focusAndSelectAll

JavaX fragment (include)

svoid focusAndSelectAll(final JTextComponent tf) {
  focus(tf);
  selectAll(tf);
}

Author comment

Began life as a copy of #1007148

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022805
Snippet name: focusAndSelectAll
Eternal ID of this version: #1022805/5
Text MD5: afe7657b37c4c15f54c67c0fc8c2b4c0
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-08 13:38:47
Source code size: 85 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 226
Version history: 4 change(s)
Referenced in: [show references]