The example demonstrates how to set a search action for the search button of the
JYSearchField
and how to set a custom prompt text.
All relevant lines are highlighted. Press the
"Run..."
button to start the demo.