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

7
LINES

< > BotCompany Repo | #1020419 // westAndCenterWithMargins

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

Libraryless. Click here for Pure Java version (4009L/24K).

static JPanel westAndCenterWithMargins(Component w, Component c) {
  ret applyDefaultMargin(westAndCenter(withRightMargin(w), c);
}

static JPanel westAndCenterWithMargins(int margin, Component w, Component c) {
  ret addMargin(margin, westAndCenter(withRightMargin(margin, w), c));
}

Author comment

Began life as a copy of #1015740

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020419
Snippet name: westAndCenterWithMargins
Eternal ID of this version: #1020419/3
Text MD5: 5de7e7a2d69cd19e8459cd00a9f51d5f
Transpilation MD5: 5b79e3dfe93547e01706924dd928c493
Author: stefan
Category: javax / swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-07 19:06:07
Source code size: 290 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 424
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)