Create SwitchWidget.java