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

6
LINES

< > BotCompany Repo | #1015786 // removeAllComponents (and validate)

JavaX fragment (include)

1  
svoid removeAllComponents(final Container c) {
2  
  if (c != null) swing {
3  
    c.removeAll();
4  
    revalidate(c);
5  
  }
6  
}

Author comment

Began life as a copy of #1015785

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: #1015786
Snippet name: removeAllComponents (and validate)
Eternal ID of this version: #1015786/4
Text MD5: e6b607543f4e29864ff6781cd1f59a7f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-06 14:26:26
Source code size: 120 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 508
Version history: 3 change(s)
Referenced in: [show references]