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

8
LINES

< > BotCompany Repo | #1033655 // setHorizontalMarginForAllButtons

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4741L) is out of date.

1  
svoid setHorizontalMarginForAllButtons(int margin, Component c) {
2  
  for (btn : allButtons(c))
3  
    setHorizontalMargin(btn, margin);
4  
}
5  
6  
svoid setHorizontalMarginForAllButtons(Component c, int margin) {
7  
  setHorizontalMarginForAllButtons(margin, c);
8  
}

Author comment

Began life as a copy of #1033654

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033655
Snippet name: setHorizontalMarginForAllButtons
Eternal ID of this version: #1033655/4
Text MD5: e9d1264599cf55153a8c12db0a1b992c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-25 23:39:36
Source code size: 252 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 195
Version history: 3 change(s)
Referenced in: [show references]