static JPanel centerAndNorth(final Component c, final Component n) { ret swing(func -> JPanel { JPanel panel = new JPanel(new BorderLayout); panel.add(BorderLayout.CENTER, wrap(c)); panel.add(BorderLayout.NORTH, wrap(n)); ret panel; }); }
Began life as a copy of #1003546
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, mqsvbyillbrs, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003640 |
Snippet name: | centerAndNorth (make BorderLayout) |
Eternal ID of this version: | #1003640/4 |
Text MD5: | 86b16834e0531c0499d3d3c7a472a62f |
Author: | stefan |
Category: | javax / swing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-23 23:47:43 |
Source code size: | 265 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 637 / 678 |
Version history: | 3 change(s) |
Referenced in: | [show references] |