code: public void setAreas(Section... AREAS_ARRAY) {
          areas.clear();
          for (Section area : AREAS_ARRAY) {
              areas.add(new Section(area.getStart(), area.getStop(), area.getColor()));
          }
          validate();
          fireStateChanged();
      }
docs: Sets the areas of the gauge to the given array of section objects
  @param AREAS_ARRAY