manager.setFrequency(0.5f);
manager.setSpeed(0.5f);
  private void applyExample() {    if (exampleList == null || exampleList.getSelectedValue() == null)return;    String examType = exampleList.getSelectedValue().toString();    RenParticleManager manager = TestRenParticleGUI.manager;    if ("FIRE".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, 0.0f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, 1.0f, 0.0f));      manager.setEmissionMaximumAngle(0.20943952f);      manager.setFrequency(1.0f);      manager.setParticlesMinimumLifeTime(1000.0f);      manager.setStartSize(40.0f);      manager.setEndSize(40.0f);      manager.setStartColor(new ColorRGBA(1.0f, 0.312f, 0.121f, 1.0f));      manager.setEndColor(new ColorRGBA(1.0f, 0.312f, 0.121f, 0.0f));      manager.setRandomMod(6.0f);      manager.setControlFlow(true);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(0.3f);    } else if ("FOUNTAIN".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, -0.0040f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, 1.0f, 0.0f));      manager.setEmissionMaximumAngle(0.2268928f);      manager.setFrequency(1.0f);      manager.setParticlesMinimumLifeTime(1300.0f);      manager.setStartSize(10.0f);      manager.setEndSize(10.0f);      manager.setStartColor(new ColorRGBA(0.0f, 0.0625f, 1.0f, 1.0f));      manager.setEndColor(new ColorRGBA(0.0f, 0.0625f, 1.0f, 0.0f));      manager.setRandomMod(1.0f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(1.1f);    } else if ("LAVA".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, -0.0040f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, 1.0f, 0.0f));      manager.setEmissionMaximumAngle(0.418f);      manager.setFrequency(1.0f);      manager.setParticlesMinimumLifeTime(1057.0f);      manager.setStartSize(40.0f);      manager.setEndSize(40.0f);      manager.setStartColor(new ColorRGBA(1.0f, 0.18f, 0.125f, 1.0f));      manager.setEndColor(new ColorRGBA(1.0f, 0.18f, 0.125f, 0.0f));      manager.setRandomMod(2.0f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(1.1f);    } else if ("SMOKE".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, 0.0f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, 1.0f, 0.0f));      manager.setEmissionMaximumAngle(0.38397244f);      manager.setFrequency(0.1f);      manager.setParticlesMinimumLifeTime(1000.0f);      manager.setStartSize(25.5f);      manager.setEndSize(40.0f);      manager.setStartColor(new ColorRGBA(0.375f, 0.375f, 0.375f, 1.0f));      manager.setEndColor(new ColorRGBA(0.375f, 0.375f, 0.375f, 0.0f));      manager.setRandomMod(0.1f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(0.75f);    } else if ("RAIN".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, -0.0040f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, -1.0f, 0.0f));      manager.setEmissionMaximumAngle(3.1415927f);      manager.setFrequency(0.5f);      manager.setParticlesMinimumLifeTime(1626.0f);      manager.setStartSize(9.1f);      manager.setEndSize(13.6f);      manager.setStartColor(new ColorRGBA(0.16078432f, 0.16078432f, 1.0f, 1.0f));      manager.setEndColor(new ColorRGBA(0.16078432f, 0.16078432f, 1.0f, 0.15686275f));      manager.setRandomMod(0.0f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(0.58f);    } else if ("SNOW".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, -0.0040f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, -1.0f, 0.0f));      manager.setEmissionMaximumAngle(1.5707964f);      manager.setFrequency(0.2f);      manager.setParticlesMinimumLifeTime(1057.0f);      manager.setStartSize(30.0f);      manager.setEndSize(30.0f);      manager.setStartColor(new ColorRGBA(0.3764706f, 0.3764706f, 0.3764706f, 1.0f));      manager.setEndColor(new ColorRGBA(0.3764706f, 0.3764706f, 0.3764706f, 0.1882353f));      manager.setRandomMod(1.0f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(0.59999996f);    } else if ("JET".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, 0.0f, 0.0f));      manager.setEmissionDirection(new Vector3f(-1.0f, 0.0f, 0.0f));      manager.setEmissionMaximumAngle(0.034906585f);      manager.setFrequency(1.0f);      manager.setParticlesMinimumLifeTime(100.0f);      manager.setStartSize(6.6f);      manager.setEndSize(30.0f);      manager.setStartColor(new ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f));      manager.setEndColor(new ColorRGBA(0.6f, 0.2f, 0.0f, 0.0f));      manager.setRandomMod(10.0f);      manager.setControlFlow(false);      manager.setReleaseRate(300);      manager.setReleaseVariance(0.0f);      manager.setInitialVelocity(1.4599999f);    } else if ("EXPLOSION".equalsIgnoreCase(examType)) {      manager.setGravityForce(new Vector3f(0.0f, 0.0f, 0.0f));      manager.setEmissionDirection(new Vector3f(0.0f, 1.0f, 0.0f));      manager.setEmissionMaximumAngle(3.1415927f);      manager.setFrequency(1.4f);      manager.setParticlesMinimumLifeTime(1000.0f);      manager.setStartSize(40.0f);      manager.setEndSize(40.0f);      manager.setStartColor(new ColorRGBA(1.0f, 0.312f, 0.121f, 1.0f));      manager.setEndColor(new ColorRGBA(1.0f, 0.24313726f, 0.03137255f, 0.0f));      manager.setRandomMod(0.0f);      manager.setControlFlow(false);      manager.setRepeatType(Controller.RT_CLAMP);    }    manager.warmUp(1000);    updateFromManager();  }