1 | static <A extends JComponent> A addBottomMargin(final int bottom, final A c) { |
2 | ret addMargin(0, 0, bottom, 0, c); |
3 | } |
4 | |
5 | static <A extends JComponent> A addBottomMargin(A c, int bottom) { |
6 | ret addBottomMargin(bottom, c); |
7 | } |
Began life as a copy of #1020072
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020074 |
Snippet name: | addBottomMargin - add bottom margin to JComponent (using CompoundBorder) |
Eternal ID of this version: | #1020074/2 |
Text MD5: | 8ad1cf83d286009c5bd914fa7ad41ba7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-06 12:50:17 |
Source code size: | 223 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 383 / 397 |
Version history: | 1 change(s) |
Referenced in: | [show references] |