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

7
LINES

< > BotCompany Repo | #1028958 // withLeftRightAndTopMargin

JavaX fragment (include)

static JPanel withLeftRightAndTopMargin(int w, Component c) {
  ret withMargins(w, w, 0, w, c);
}

static JPanel withLeftRightAndTopMargin(Component c) {
  ret withLeftRightAndTopMargin(defaultMargin(), c);
}

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: 205 / 234
Referenced in: [show references]