code: private JSlider getSliderThreadsPerHost() {
          if (sliderThreadsPerHost == null) {
              sliderThreadsPerHost = new PositiveValuesSlider(Constant.MAX_THREADS_PER_SCAN);
  
              sliderThreadsPerHost.addChangeListener(new ChangeListener() {
                  @Override
                  public void stateChanged(ChangeEvent e) {
                      setLabelThreadsPerHostValue(getSliderThreadsPerHost().getValue());
                  }
              });
          }
          return sliderThreadsPerHost;
      }
docs: This method initializes sliderThreadsPerHost
  
  @return javax.swing.JSlider