1 | static <A extends Container> A replaceAllComponents(final A c, final L<? extends Component> components) {
|
2 | swing {
|
3 | c.removeAll(); |
4 | addAllComponents(c, components); |
5 | revalidate(c); |
6 | } |
7 | ret c; |
8 | } |
Began life as a copy of #1016349
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: | #1016361 |
| Snippet name: | replaceAllComponents |
| Eternal ID of this version: | #1016361/3 |
| Text MD5: | 6adbb64fbd889e55a76d2eadfb569dd2 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-16 15:38:18 |
| Source code size: | 212 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 617 / 641 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |