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