1 | static JTextArea autoScroll(JTextArea t) { |
2 | DefaultCaret caret = (DefaultCaret) t.getCaret(); |
3 | caret.setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE); |
4 | ret t; |
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: | #1003583 |
Snippet name: | autoScroll - auto-scroll a JTextArea on appends |
Eternal ID of this version: | #1003583/1 |
Text MD5: | 7338ac9cced129cf36fa076bacc29e63 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-24 14:02:59 |
Source code size: | 162 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 594 / 716 |
Referenced in: | [show references] |