int val = rateVarSlider.getValue(); particleMesh .setReleaseVariance((float) val * .01f); updateRateLabels();
int val = randomSlider.getValue(); particleMesh.setRandomMod((float) val * .1f); updateRandomLabels();
            public void stateChanged(ChangeEvent e) {                int val = rateVarSlider.getValue();                particleMesh                        .setReleaseVariance((float) val * .01f);                updateRateLabels();                regenCode();            }