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; }
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: | 426 / 457 |
Referenced in: | [show references] |