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