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: | 526 / 544 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1019875 - removeComponent #1019877 - removeAndValidate - remove form parent and validate parent |