Create Widget.java

This is a main of application