Integrate maxlength into JTextField