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

5
LINES

< > BotCompany Repo | #1010139 // bindTextAreaToVar

JavaX fragment (include)

1  
static JTextArea bindTextAreaToVar(final IVar<S> var, final JTextArea ta) {
2  
  setText(ta, unnull(var!));
3  
  onUpdate(ta, r { var.set(getText(ta)) });
4  
  ret ta;
5  
}

Author comment

Began life as a copy of #1009952

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010139
Snippet name: bindTextAreaToVar
Eternal ID of this version: #1010139/2
Text MD5: 8ceed4c59699564ff81b1f1c872b329a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-11 20:06:32
Source code size: 164 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 530 / 517
Version history: 1 change(s)
Referenced in: [show references]