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

5
LINES

< > BotCompany Repo | #1016975 // bindJLabelToLiveValue

JavaX fragment (include)

static <A extends JLabel> A bindJLabelToLiveValue(final A label, final LiveValue lv) {
  bindLiveValueListenerToComponent(label, lv,
    r { setText(label, strOrNull(lv!)) });
  ret label;
}

Author comment

Began life as a copy of #1015811

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016975
Snippet name: bindJLabelToLiveValue
Eternal ID of this version: #1016975/1
Text MD5: 6e66c8bc87f9e195c9b19e50257fb4e9
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 16:55:39
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 339 / 392
Referenced in: [show references]