1 | static JPanel centerAndEast(final Component c, final Component e) { |
2 | ret swing(func -> JPanel { |
3 | JPanel panel = new JPanel(new BorderLayout); |
4 | panel.add(BorderLayout.CENTER, wrap(c)); |
5 | panel.add(BorderLayout.EAST, wrap(e)); |
6 | ret panel; |
7 | }); |
8 | } |
Began life as a copy of #1003308
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003546 |
Snippet name: | centerAndEast (make BorderLayout) |
Eternal ID of this version: | #1003546/4 |
Text MD5: | 6c17a6d489872ef039b1c99e9808dc19 |
Author: | stefan |
Category: | javax / swing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-16 16:15:57 |
Source code size: | 263 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 729 / 841 |
Version history: | 3 change(s) |
Referenced in: | [show references] |