Libraryless. Click here for Pure Java version (6953L/39K).
static JPanel westAndEastWithMargin(Component w, Component e) { JPanel panel = new JPanel(new BorderLayout); panel.add(BorderLayout.WEST, wrap(w)); panel.add(BorderLayout.CENTER, horizontalStrut(10)); panel.add(BorderLayout.EAST, wrap(e)); ret panel; }
Began life as a copy of #1007245
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034559 |
| Snippet name: | westAndEastWithMargin |
| Eternal ID of this version: | #1034559/1 |
| Text MD5: | 688d25e1cc7d5dad208d279870b9512b |
| Transpilation MD5: | fcba13cbbecc477095525df011e77d2d |
| Author: | stefan |
| Category: | javax / swing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-15 17:13:44 |
| Source code size: | 268 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 399 / 500 |
| Referenced in: | [show references] |