private void addRow()

in src/org/pushingpixels/lightbeam/panels/ButtonsPanel.java [245:260]


	private void addRow(DefaultFormBuilder builder, String label, Icon icon,
			ConfigurationCommand<? super AbstractButton> cmd) {
		AbstractButton[] row = this.getRow();
		if (cmd != null) {
			for (AbstractButton ab : row) {
				cmd.configure(ab);
			}
		}

		JLabel jl = new JLabel(label);
		if (icon != null)
			jl.setIcon(icon);
		builder.append(jl);
		for (AbstractButton ab : row)
			builder.append(ab);
	}