JME2 to JME3 slider constraint

Hello, i have a problem with Slider joints in jme3.



In jme2 i create a slider joint with this:


      Joint j = pSpace.createJoint();
      j.attach(anchor, chassis);
      TranslationalJointAxis axis = j.createTranslationalAxis();
      axis.setPositionMaximum(0.3f);
      axis.setPositionMinimum(-0.3f);
      axis.setAvailableAcceleration(15);
      axis.setDesiredVelocity(0);
      axis.setDirection(new Vector3f(0,1,0));



But in jme3, how can i to specify that the translation axis is the 'Y' and the velocity of translation?
is there any example with Sliders joints?

Thanks very much.