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

11
LINES

< > BotCompany Repo | #1016522 // onPossiblyInternalFrameDeactivated

JavaX fragment (include)

static void onPossiblyInternalFrameDeactivated(Component c, fO r) {
  JInternalFrame iF = getInternalFrame(c);
  if (iF != null) ret with onInternalFrameDeactivated(iF, r);
  
  Frame f = getAWTFrame(c);
  if (f != null) f.addWindowListener(new WindowAdapter() {
    public void windowDeactivated(WindowEvent e) {
      pcall-messagebox { callF(r); }
    }
  });
}

Author comment

Began life as a copy of #1014791

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: #1016522
Snippet name: onPossiblyInternalFrameDeactivated
Eternal ID of this version: #1016522/1
Text MD5: 207b0df879da481587cfc577994dc5f6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-21 21:16:08
Source code size: 374 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 418 / 458
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)