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

4
LINES

< > BotCompany Repo | #1020490 // bindTextComponentToLiveValue_scrollDown

JavaX fragment (include)

1  
static <A extends JTextComponent> A bindTextComponentToLiveValue_scrollDown(final A tc, final LiveValue lv) {
2  
  ret bindLiveValueListenerToComponent(tc, lv,
3  
    r { setTextAndMoveCaretToEnd(tc, strOrNull(lv!)) });
4  
}

Author comment

Began life as a copy of #1015821

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020490
Snippet name: bindTextComponentToLiveValue_scrollDown
Eternal ID of this version: #1020490/1
Text MD5: 2ac5f1792b617a0d765569eac0446021
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-24 16:06:20
Source code size: 218 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 323
Referenced in: [show references]