import javax.swing.border.*;
static A addMargin(final int top, final int left, final int bottom, final int right, final A c) {
if (c != null) swing {
Border margin = BorderFactory.createEmptyBorder(top, left, bottom, right);
c.setBorder(jCompoundBorder(c.getBorder(), margin));
}
ret c;
}
static A addMargin(int w, A c) {
ret addMargin(w, w, w, w, c);
}