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).

1  
static JPanel withLeftRightAndBottomMargin(int w, Component c) {
2  
  ret withMargins(0, w, w, w, c);
3  
}
4  
5  
static JPanel withLeftRightAndBottomMargin(Component c) {
6  
  ret withLeftRightAndBottomMargin(defaultMargin(), c);
7  
}

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: 230 / 328
Version history: 1 change(s)
Referenced in: [show references]