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

4
LINES

< > TinyBrain | #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   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 270 / 242
Version history: 1 change(s)
Referenced in: [show references]