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 (11580L/65K).

1  
static JPanel centerAndSouthWithMargins(Component etc c, Component etc s) {
2  
  ret applyDefaultMargin(centerAndSouth(c, withTopMargin(s));
3  
}
4  
5  
static JPanel centerAndSouthWithMargins(int margin, Component etc c, Component etc s) {
6  
  ret applyMargin(margin, centerAndSouth(c, withTopMargin(margin, s));
7  
}

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/5
Text MD5: 63874675434695d31fa1bde908a18330
Transpilation MD5: e46a8cfbbbbb44d599c6f86ca9cfe9cd
Author: stefan
Category: javax / swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-11 18:30:51
Source code size: 307 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 529
Version history: 4 change(s)
Referenced in: [show references]