Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1028958 // withLeftRightAndTopMargin

JavaX fragment (include)

1  
static JPanel withLeftRightAndTopMargin(int w, Component c) {
2  
  ret withMargins(w, w, 0, w, c);
3  
}
4  
5  
static JPanel withLeftRightAndTopMargin(Component c) {
6  
  ret withLeftRightAndTopMargin(defaultMargin(), c);
7  
}

Author comment

Began life as a copy of #1027440

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028958
Snippet name: withLeftRightAndTopMargin
Eternal ID of this version: #1028958/1
Text MD5: 896aee46f67090dbc8948e748c26f414
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-13 23:43:16
Source code size: 214 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 236
Referenced in: [show references]