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

9
LINES

< > BotCompany Repo | #1010642 - removeFromParent

JavaX fragment (include)

static void removeFromParent(final Component c) {
  if (c != null) swing {
    Container cc = c.getParent();
    if (cc != null) {
      cc.remove(c);
      revalidate(cc);
    }
  }
}

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: #1010642
Snippet name: removeFromParent
Eternal ID of this version: #1010642/4
Text MD5: 993761f0b2a048b4296bc934371ed7d4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-12 02:30:03
Source code size: 192 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 239 / 269
Version history: 3 change(s)
Referenced in: #1006654 #1019875 #1019877

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