// Helper function that retrieves the updated value from the constraint
 // variables and sets the location
 public void updateValue() {
   x = (int) clX.getValue();
   y = (int) clY.getValue();
 }