code: private void speedSliderMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_speedSliderMouseDragged
          visualizer.setSpeed((int)(speedSlider.getValue()/(100.0/15.0)));
  
      }
docs: GEN-LAST:event_buttonRunMouseClicked