public GenericWidget(int X, int Y, int width, int height) {
   setGeometry(new Rectangle(X, Y, width, height));
   initProperties();
 }
 public GenericWidget() {
   initProperties();
 }