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

4
LINES

< > BotCompany Repo | #1007198 // centerLabel

JavaX fragment (include)

static <A extends JLabel> A centerLabel(A l) {
  if (l != null) l.setHorizontalAlignment(SwingConstants.CENTER);
  ret l;
}

Author comment

Began life as a copy of #1007122

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: #1007198
Snippet name: centerLabel
Eternal ID of this version: #1007198/2
Text MD5: 32ff3def4c6358b51edb0ef923c44d33
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-15 23:19:13
Source code size: 126 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 728 / 711
Version history: 1 change(s)
Referenced in: [show references]