Ok Alessandruino - DualPwm should be worky. 
 

This is the testing I did ...

 

Runtime.start("webgui", "WebGui");
arduino = (Arduino)Runtime.start("arduino", "Arduino");
motor01 = (Motor)Runtime.start("motor01", "Motor");
motor01.setPwmPins(3, 4);
motor01.attach(arduino);
 
arduino.connect("COM5"); 
 
motor01.move(0.3);
motor01.move(0.1);
motor01.move(1.0);
motor01.move(5.0);
 
motor01.move(-0.1);
motor01.move(-0.2);
motor01.move(0.0);
motor01.stop();
 
Let me know how it goes :)