code: protected void recreateLedImages(final int SIZE) {
          if (ledImageOff != null) {
              ledImageOff.flush();
          }
          ledImageOff = create_LED_Image(SIZE, 0, model.getLedColor());
  
          if (ledImageOn != null) {
              ledImageOn.flush();
          }
          ledImageOn = create_LED_Image(SIZE, 1, model.getLedColor());
      }
docs: Recreates the current threshold led images due to the given width
  @param SIZE