int val = minAgeSlider.getValue(); TestRenParticleGUI.manager.setParticlesMinimumLifeTime( (float) val); updateAgeLabels();
int val = gravZSlider.getValue(); if (TestRenParticleGUI.manager != null) TestRenParticleGUI.manager.getGravityForce().z = (float) val * 0.001f;
      public void stateChanged(ChangeEvent e) {        int val = minAgeSlider.getValue();        TestRenParticleGUI.manager.setParticlesMinimumLifeTime( (float) val);        updateAgeLabels();        regenCode();      }