This example demonstrates how to create a "password" field, a TextField that conceals its contents.

The source: