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

7
LINES

< > BotCompany Repo | #1027440 // withLeftRightAndBottomMargin

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

Libraryless. Click here for Pure Java version (2424L/15K).

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

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

Author comment

Began life as a copy of #1019895

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: #1027440
Snippet name: withLeftRightAndBottomMargin
Eternal ID of this version: #1027440/2
Text MD5: 0ed6cfc7ec166a42c076ea2a72fd69da
Transpilation MD5: e6e4fa0e9e2d46134f3f7d8cd7918669
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-20 16:00:08
Source code size: 223 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 231 / 328
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028958 - withLeftRightAndTopMargin
#1030805 - withRightAndBottomMargin