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

7
LINES

< > BotCompany Repo | #1003926 // abstractAction - make AbstractAction subclass from name and Runnable

JavaX fragment (include)

static AbstractAction abstractAction(S name, final O runnable) {
  ret new AbstractAction(name) {
    public void actionPerformed(ActionEvent evt) {
      pcallF(runnable);
    }
  };
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003926
Snippet name: abstractAction - make AbstractAction subclass from name and Runnable
Eternal ID of this version: #1003926/2
Text MD5: a3058b0f08c8931c819a0c86d29266f6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-24 12:40:28
Source code size: 191 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 608 / 621
Version history: 1 change(s)
Referenced in: [show references]