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

10
LINES

< > BotCompany Repo | #1016868 // onWindowActivated

JavaX fragment (include)

1  
static <A extends Window> A onWindowActivated(final A w, fO r) {
2  
  if (w != null) swing {
3  
    w.addWindowListener(new WindowAdapter {
4  
      public void windowActivated(WindowEvent e) {
5  
        pcallF(r);
6  
      }
7  
    });
8  
  }
9  
  ret w;
10  
}

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: 428 / 459
Referenced in: [show references]