Box2D + Processing

I am working on a project using Processing for rendering and JBox2D for physics. Should I put the world.step call inside Processing's draw call?

The problem is that if I have a fixed 60 fps frameRate, Processing's draw method may take longer that 1/60s to run, thus making a wrong step for the physics simulation (given the 1/60s timestep).

Is anyone using processing + jbox2D? Is it recommended?

Thanks in advance,

Fábio
I'm pretty sure you can define an update() method, I would put the step call in there

Original thread: https://box2d.org/forum/viewtopic.php?t=8107