1 | static JPanel centerAndSouth(final Component c, final Component s) {
|
2 | ret swing(func -> JPanel {
|
3 | JPanel panel = new JPanel(new BorderLayout); |
4 | panel.add(BorderLayout.CENTER, wrap(c)); |
5 | if (s != null) panel.add(BorderLayout.SOUTH, wrap(s)); |
6 | ret panel; |
7 | }); |
8 | } |
Began life as a copy of #1001774
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: | #1003308 |
| Snippet name: | centerAndSouth (make BorderLayout) |
| Eternal ID of this version: | #1003308/3 |
| Text MD5: | 3d7f33787a3aba229f8fb28f730dec4b |
| Author: | stefan |
| Category: | javax / swing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-11 22:57:20 |
| Source code size: | 280 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1014 / 1414 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |