/** Update the text field based on the model. */ private void updateTextField() { _textField.setText(_pim.getMask()); _textField.setCaretPosition(_pim.getMask().length()); }