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

8
LINES

< > BotCompany Repo | #1015813 - disposeInternalFrame

JavaX fragment (include)

static void disposeInternalFrame(Component c) {
  final JInternalFrame f = getInternalFrame(c);
  if (f != null) swing {
    vmBus_send disposingInternalFrame(f);
    f.dispose();
    setOpt(f, lastFocusOwner := null); // Help GC
  }
}

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: 210 / 246
Version history: 3 change(s)
Referenced in: #1006654 #1020548

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