static void addButtonsToWindow(Component c, O... buttonParams) { addToWindowWithMargin(c, jcenteredbuttons(buttonParams)); }