grid.setBorder(Empty.border(10));
wrap(grid);
}
private IntegerInputField createField(String name) {
IntegerInputField field = new IntegerInputField(
name, new KongaTextField(4), 0, Integer.MAX_VALUE, new JLabel(name + ":"));
field.setSelectAllWhenFocused(true);
addInputField(field, field, field);
return field;
}