The example demonstrates how to create and customize a JYSwitchButton.
Relevant switch button methods start with 'setOn...' or 'setOff...' i.e. #setOnText(...), #setOffText(...).
All relevant lines are highlighted. Press the "Run..."
button to start the demo.