void (final FormLayout formLayout, final int index, final ColumnSpec columnSpec) { if (index == formLayout.getColumnCount()+1) { formLayout.appendColumn(columnSpec); } else { formLayout.insertColumn(index, columnSpec); } }