code: public void setUserLedColor(final LedColor LED_COLOR) {
          model.setUserLedColor(LED_COLOR);
          final boolean LED_WAS_ON = currentUserLedImage.equals(userLedImageOn) ? true : false;
  
          switch (getOrientation()) {
              case HORIZONTAL:
                  recreateUserLedImages(getHeight());
                  break;
              case VERTICAL:
                  recreateUserLedImages(getWidth());
                  break;
              default:
                  recreateUserLedImages();
                  break;
          }
          if (currentUserLedImage != null) {
              currentUserLedImage.flush();
          }
          currentUserLedImage = LED_WAS_ON == true ? userLedImageOn : userLedImageOff;
  
          repaint(getInnerBounds());
      }
docs: Sets the color of the user 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