MaskedTextField for Vaadin 7

I just tried the
MaskedTextField
latest version from the
Github
. It runs without errors, but don’t mask the field. I tried the following code:


private MaskedTextField cpf;
cpf = new MaskedTextField();
cpf.setCaption("CPF");
cpf.setMask("###.###.###-##");
cpf.setImmediate(false);
cpf.setWidth("150px");
cpf.setHeight("-1px");

Am I missing something, or there’s another way to mask text fields in Vaadin 7?