int val = speedSlider.getValue(); TestRenParticleGUI.manager.setParticlesSpeed( (float) val * .1f); updateSpeedLabels();
int val = startSizeSlider.getValue(); TestRenParticleGUI.manager.setStartSize(val / 10f); updateSizeLabels();
      public void stateChanged(ChangeEvent e) {        int val = speedSlider.getValue();        TestRenParticleGUI.manager.setParticlesSpeed( (float) val * .1f);        updateSpeedLabels();        regenCode();      }