If a TextField contains text which is longer then TextField width, the following steps can be done to reproduce the issue:
1. Double click the TextField to select the whole text.
2. Click once to deselect it. The text will disappear.
Apparently, just pressing ctrl+A or selecting all text in any other way doesn't reproduce the issue.
First observed in 2.2 b02.
To reproduce please use the attached NetBeans project (if the application starts up with selected text in TextField, deselect it before trying to reproduce the issue).