code: public void setLedColor(final LedColor LED_COLOR) {
          model.setLedColor(LED_COLOR);
          final boolean LED_WAS_ON = currentLedImage.equals(ledImageOn) ? true : false;
  
          switch (getOrientation()) {
              case HORIZONTAL:
                  recreateLedImages(getHeight());
                  break;
              case VERTICAL:
                  recreateLedImages(getWidth());
                  break;
              default:
                  recreateLedImages();
                  break;
          }
          if (currentLedImage != null) {
              currentLedImage.flush();
          }
          currentLedImage = LED_WAS_ON == true ? ledImageOn : ledImageOff;
  
          repaint(getInnerBounds());
      }
docs: Sets the color of the threshold led dependend on the orientation of
  a component. This is only important for the linear gauges where the width
  and the height are different.
  The LedColor is not a standard color but defines a
  color scheme for the led. The default ledcolor is RED
  @param LED_COLOR