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

11
LINES

< > BotCompany Repo | #1006125 - onUpdateAndNow (for JTextComponent, JCheckBox and others)

JavaX fragment (include)

// action = runnable or method name
static void onUpdateAndNow(JComponent c, fO r) {
  onUpdate(c, r);
  callF(r);
}

static void onUpdateAndNow(L<? extends JComponent> l, O r) {
  for (JComponent c : l)
    onUpdate(c, r);
  callF(r);
}

Author comment

Began life as a copy of #1003287

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006125
Snippet name: onUpdateAndNow (for JTextComponent, JCheckBox and others)
Eternal ID of this version: #1006125/1
Text MD5: 60dc460a17e50fb541004e3f740ddbc2
Author: stefan
Category: javax swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-20 17:26:07
Source code size: 247 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 412
Referenced in: [show references]