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

11
LINES

< > BotCompany Repo | #1031130 // applyMargin - synonym of addMargin

JavaX fragment (include)

1  
2  
3  
static <A extends JComponent> A applyMargin(int top, int left, int bottom, int right, A c) {
4  
  ret addMargin(top, left, bottom, right, c);
5  
}
6  
7  
8  
9  
static <A extends JComponent> A applyMargin(int w, A c) {
10  
  ret addMargin(w, c);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031130
Snippet name: applyMargin - synonym of addMargin
Eternal ID of this version: #1031130/1
Text MD5: ded0e9d80dd43cdb7ac957f7a5d8fd83
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-10 17:44:03
Source code size: 232 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 155 / 186
Referenced in: [show references]