1 | static JPanel westAndEast(Component w, Component e) { |
2 | JPanel panel = new JPanel(new BorderLayout); |
3 | panel.add(BorderLayout.WEST, wrap(w)); |
4 | panel.add(BorderLayout.EAST, wrap(e)); |
5 | ret panel; |
6 | } |
Began life as a copy of #1003640
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: | #1007245 |
Snippet name: | westAndEast (make BorderLayout with empty center) |
Eternal ID of this version: | #1007245/1 |
Text MD5: | 439c658eec33e8a46ea9b0a318d60cbf |
Author: | stefan |
Category: | javax / swing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-12 22:58:10 |
Source code size: | 202 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 542 / 554 |
Referenced in: | [show references] |