private void sldNeighStateChanged(ChangeEvent evt) {//GEN-FIRST:event_sldNeighStateChanged
        lblNeigh.setText(Double.toString(sldNeigh.getValue()/(double)10));
        if (mainBoids.simul!=null){
            mainBoids.simul.setNeightParametrs(sldAngle.getValue()/(double)1000,sldNeigh.getValue()/(double)10);
        }
    }