static JPanel smartAdd(JPanel panel, L parts) { for (O o : parts) addToContainer(panel, wrapForSmartAdd(o)); ret panel; } static JPanel smartAdd(JPanel panel, O... parts) { ret smartAdd(panel, asList(parts)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001773 |
Snippet name: | smartAdd (adding arbitrary objects to a JPanel) |
Eternal ID of this version: | #1001773/5 |
Text MD5: | 28b70890970b09548add3a3521019830 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-30 15:41:17 |
Source code size: | 231 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 715 / 1288 |
Version history: | 4 change(s) |
Referenced in: | [show references] |