static A setMargin(final int w, final A a) { if (a != null) swing { a.setBorder(BorderFactory.createEmptyBorder(w, w, w, w)); } ret a; }