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

7
LINES

< > BotCompany Repo | #1022769 - jVerticalCenter [usually doesn't work, sadly]

JavaX fragment (include)

static JComponent jVerticalCenter(Component c) {
  Box box = Box.createVerticalBox();
  box.add(Box.createVerticalGlue());
  box.add(c);
  box.add(Box.createVerticalGlue());
  ret box;
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1022769
Snippet name: jVerticalCenter [usually doesn't work, sadly]
Eternal ID of this version: #1022769/4
Text MD5: e7b08082caa7c463d783194b5b129d4e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-15 18:16:05
Source code size: 192 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 54 / 67
Version history: 3 change(s)
Referenced in: [show references]

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