Now I answered you on gamedev (along with an example), but here is the bottom line:
You are usually responsible for displaying the state of your box2d world - the "userData trick" you are referring to is not actually associated with the box2d frame.
userData , . - , , .. , , , - processObjects, imgsrc Image . ( , - , )