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

12
LINES

< > BotCompany Repo | #1014633 // gridBagConstraints_vstack_1

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

Libraryless. Click here for Pure Java version (42L/1K).

static GridBagConstraints gridBagConstraints_vstack_1(int spacing) {
  ret gridBagConstraints_vstack_1(spacing/2, spacing/2);
}

static GridBagConstraints gridBagConstraints_vstack_1(int spacingTop, int spacingBottom) {
  new GridBagConstraints gbc;
  gbc.weightx = 1;
  gbc.fill = GridBagConstraints.HORIZONTAL;
  gbc.gridwidth = GridBagConstraints.REMAINDER;
  gbc.insets = new Insets(spacingTop, 0, spacingBottom, 0);
  ret gbc;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014633
Snippet name: gridBagConstraints_vstack_1
Eternal ID of this version: #1014633/2
Text MD5: 2285495bb42476cfef209ce5ddff44a7
Transpilation MD5: 8c2d10a4b0455efb43c490ec4a455f39
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-26 16:40:01
Source code size: 444 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 347
Version history: 1 change(s)
Referenced in: [show references]