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

8
LINES

< > BotCompany Repo | #1015813 - disposeInternalFrame

JavaX fragment (include)

1  
static void disposeInternalFrame(Component c) {
2  
  final JInternalFrame f = getInternalFrame(c);
3  
  if (f != null) swing {
4  
    vmBus_send disposingInternalFrame(f);
5  
    f.dispose();
6  
    // now illegal... setOpt(f, lastFocusOwner := null); // Help GC
7  
  }
8  
}

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: #1015813
Snippet name: disposeInternalFrame
Eternal ID of this version: #1015813/5
Text MD5: e3a47ad800e5fe17d767ce0e66f1cb9e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-22 15:59:47
Source code size: 260 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 226 / 264
Version history: 4 change(s)
Referenced in: [show references]