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  
    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/4
Text MD5: c194de65fda41a0664c34c701d2c687f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-29 13:27:27
Source code size: 242 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 204 / 238
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1015813 & http://1015813.tinybrain.de