private void sldPredCofStateChanged(ChangeEvent evt) {//GEN-FIRST:event_sldPredCofStateChanged
        //------------------------------------------------------------------------
        //Uaktualnianie wartości z suwaczka odnosnie ucieczki
        lblPred.setText(Double.toString(sldPredCof.getValue()/(double)100));
        if (mainBoids.simul!=null){
            mainBoids.simul.setParametrs(sldAliCof.getValue()/(double)1000,sldSepCof.getValue()/(double)1000, sldCohCof.getValue()/(double)1000, sldLeadCof.getValue()/(double)1000,sldPredCof.getValue()/(double)1000);
        }
        //--------------------------------------------------------------------------
        // TODO add your handling code here:
    }