static void setAlignmentX(final JComponent c, final float alignment) swing { c.setAlignmentX(alignment); }