1 | static void removeFromParent(final Component c) {
|
2 | if (c != null) swing {
|
3 | Container cc = c.getParent(); |
4 | if (cc != null) {
|
5 | cc.remove(c); |
6 | revalidate(cc); |
7 | } |
8 | } |
9 | } |
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: | 984 / 1018 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |