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: | 717 / 1290 |
Version history: | 4 change(s) |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006476 - smartAddWithLayout (adding arbitrary objects to a JPanel) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |