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

7
LINES

< > BotCompany Repo | #1015772 - centerAndSouthWithMargins - make a BorderLayout with two components

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

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

static JPanel centerAndSouthWithMargins(Component c, Component s) {
  ret applyDefaultMargin(centerAndSouth(c, withTopMargin(s));
}

static JPanel centerAndSouthWithMargins(int margin, Component c, Component s) {
  ret applyMargin(margin, centerAndSouth(c, withTopMargin(margin, s));
}

Author comment

Began life as a copy of #1015740

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015772
Snippet name: centerAndSouthWithMargins - make a BorderLayout with two components
Eternal ID of this version: #1015772/4
Text MD5: 3caa4a9c82d397678c41c77480da690a
Transpilation MD5: 5232e83b22ecb9f6044b774acf03848a
Author: stefan
Category: javax / swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-10 17:51:27
Source code size: 291 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 289
Version history: 3 change(s)
Referenced in: [show references]

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