static JTextArea autoScroll(JTextArea t) { DefaultCaret caret = (DefaultCaret) t.getCaret(); caret.setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE); ret t; }
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: | 595 / 717 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |