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