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

4
LINES

< > BotCompany Repo | #1020490 // bindTextComponentToLiveValue_scrollDown

JavaX fragment (include)

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

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: 289 / 321
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)