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

5
LINES

< > BotCompany Repo | #1019372 // centeredButtonsOrSingleComponent

JavaX fragment (include)

static Component centeredButtonsOrSingleComponent(O... params) {
  ret l(params) == 1 && params[0] instanceof Component
    ? wrap(params[0])
    : jcenteredbuttons(params);
}

Author comment

Began life as a copy of #1013856

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019372
Snippet name: centeredButtonsOrSingleComponent
Eternal ID of this version: #1019372/6
Text MD5: dd1757a4611ff12eee62ce505887fb9c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-04 16:35:26
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 315 / 359
Version history: 5 change(s)
Referenced in: [show references]