1 | static JPanel westAndCenter(final Component w, final Component c) {
|
2 | ret swing(func -> JPanel {
|
3 | JPanel panel = new JPanel(new BorderLayout); |
4 | panel.add(BorderLayout.WEST, wrap(w)); |
5 | panel.add(BorderLayout.CENTER, wrap(c)); |
6 | ret panel; |
7 | }); |
8 | } |
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: | 955 / 1000 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |