public void setCustomUserLedColor(final Color COLOR) {
        model.setCustomUserLedColor(new CustomLedColor(COLOR));
        final boolean LED_WAS_ON = currentUserLedImage.equals(ledImageOn) ? 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());
    }
public void setCustomUserLedColor ( final Color COLOR ) { model . setCustomUserLedColor ( new CustomLedColor ( COLOR ) ) ; final boolean LED_WAS_ON = currentUserLedImage . equals ( ledImageOn ) ? 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 ( ) ) ; }
Sets the color from which the custom user ledcolor will be calculated
@param COLOR