1 | static <A extends JTextComponent> A moveCaretToEnd(A ta) { |
2 | setCaretPosition(ta, textAreaTextLength(ta)); |
3 | ret ta; |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010318 |
Snippet name: | moveCaretToEnd - move caret to end of text area |
Eternal ID of this version: | #1010318/3 |
Text MD5: | 195e19ac82687ae704f2bb0ccc731388 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-09 17:43:46 |
Source code size: | 121 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 517 / 560 |
Version history: | 2 change(s) |
Referenced in: | [show references] |