code: public static JComponent createButtonBar(Object[] groupMembers) {
  		CommandGroupFactoryBean commandGroupFactoryBean = new CommandGroupFactoryBean(
  				null, groupMembers);
  		// CommandGroup dialogCommandGroup =
  		// CommandGroup.createCommandGroup(null,
  		// groupMembers);
  		CommandGroup dialogCommandGroup = commandGroupFactoryBean
  				.getCommandGroup();
  		JComponent buttonBar = dialogCommandGroup.createButtonBar();
  		GuiStandardUtils.attachDialogBorder(buttonBar);
  		return buttonBar;
  	}
docs: Return a standardized row of command buttons.
  
  @param groupMembers
  @return button bar