public static JComponent getCapsule(InputField input, int orientation, boolean useScroll) {
return new InputFieldCapsule(input, orientation, useScroll);
}
public static KongaTextField getTextField(int length, boolean isFixedSize) {
KongaTextField field = new KongaTextField(length);
field.setFixedSize(isFixedSize);
return field;
}