static Component addToWindowWithMargin(final Component c, final Component toAdd) { if (toAdd != null) addToWindow(c, withMargin(toAdd)); ret c; }