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

10
LINES

< > BotCompany Repo | #1016868 // onWindowActivated

JavaX fragment (include)

static <A extends Window> A onWindowActivated(final A w, fO r) {
  if (w != null) swing {
    w.addWindowListener(new WindowAdapter {
      public void windowActivated(WindowEvent e) {
        pcallF(r);
      }
    });
  }
  ret w;
}

Author comment

Began life as a copy of #1009661

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: #1016868
Snippet name: onWindowActivated
Eternal ID of this version: #1016868/1
Text MD5: dc2bc868c62492bb5fe50a1043c73230
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 12:03:11
Source code size: 243 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 458
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1034205 - onWindowDeiconified