static A setHorizontalAlignment(final int pos, final A a) { if (a != null) swing { a.setHorizontalAlignment(pos); } ret a; }