return new DefaultNonEmptyTextInputField(name, getTextField(length, isFixedSize), jlabel);
}
public static TextInputField2 getNonEmptyTextAreaInputField(String name, String label, int rows, int columns) {
JLabel jlabel = (label != null && label.length() > 0) ? new JLabel(label) : null;
KongaTextArea text = new KongaTextArea(rows, columns) {
@Override
public Dimension getMaximumSize() {
return getPreferredSize();
}