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   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz, 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: 3 / 11
Referenced in: [show references]

Formerly at http://tinybrain.de/1028958 & http://1028958.tinybrain.de