1 | static JPanel smartAdd(JPanel panel, L parts) { |
2 | for (O o : parts) |
3 | addToContainer(panel, wrapForSmartAdd(o)); |
4 | ret panel; |
5 | } |
6 | |
7 | static JPanel smartAdd(JPanel panel, O... parts) { |
8 | ret smartAdd(panel, asList(parts)); |
9 | } |
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: | 716 / 1290 |
Version history: | 4 change(s) |
Referenced in: | [show references] |