The example demonstrates a simple JYFormattedTextField and how to set a leading button and a custom prompt text.

All relevant lines are highlighted. Press the "Run..." button to start the demo.