static JPanel westAndCenter(final Component w, final Component c) { ret swing(func -> JPanel { JPanel panel = new JPanel(new BorderLayout); panel.add(BorderLayout.WEST, wrap(w)); panel.add(BorderLayout.CENTER, wrap(c)); ret panel; }); }
Began life as a copy of #1003546
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006305 |
| Snippet name: | westAndCenter (make BorderLayout) |
| Eternal ID of this version: | #1006305/2 |
| Text MD5: | 6129a3723870cd7038bf103a228aafca |
| Author: | stefan |
| Category: | javax / swing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-17 21:58:34 |
| Source code size: | 263 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 886 / 942 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |