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

8
LINES

< > BotCompany Repo | #1004149 // jcenteredline

JavaX fragment (include)

static JPanel jcenteredline(final Component... components) {
  //ret new CenteredLine(components);
  ret swing(func -> JPanel { jFullCenter(hstackWithSpacing(components)) });
}

static JPanel jcenteredline(L<? extends Component> components) {
  ret jcenteredline(asArray(Component.class, components));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004149
Snippet name: jcenteredline
Eternal ID of this version: #1004149/5
Text MD5: 7385e64e32d73305f79970f5cb0399aa
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-01 21:17:28
Source code size: 310 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 625 / 623
Version history: 4 change(s)
Referenced in: #1004312 - centeredLine - synonym of jcenteredline
#1004927 - jCenteredLine - synonym of jcenteredline
#1005944 - jrightAlignedLine
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024619 - centeredLineWithSpacing
#1036387 - vscrollingCenteredLine