public static JTextField tf(String value, int cols, P1<String> onChange) {
		JTextField tf = new JTextField(value, cols);
		if (onChange != null) {
			onChange(tf, onChange);
		}
		supportUndo(tf);
		return tf;
	}