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

9
LINES

< > BotCompany Repo | #1015042 // setVerticalAlignment

JavaX fragment (include)

static <A extends AbstractButton> A setVerticalAlignment(final int pos, final A a) {
  if (a != null) swing { a.setVerticalAlignment(pos); }
  ret a;
}

static <A extends JLabel> A setVerticalAlignment(final int pos, final A a) {
  if (a != null) swing { a.setVerticalAlignment(pos); }
  ret a;
}

Author comment

Began life as a copy of #1015040

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: #1015042
Snippet name: setVerticalAlignment
Eternal ID of this version: #1015042/4
Text MD5: 4f8801c63f464deb94de6434fe8a9c43
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-05 12:18:18
Source code size: 304 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 353
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016071 - setHorizontalAlignment
#1019841 - verticalAlignTop