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();
    // now illegal... 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/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: 451 / 521
Version history: 4 change(s)
Referenced in: [show references]