static A setPreferredSize(final A c, final int w, final int h) { if (c != null) swing { c.setPreferredSize(new Dimension(w, h)); } ret c; }