Springs with Phys2D

Hi all!

Is there a way to create a spring-like body with Phys2D?
for example a box that throw away other bodies that falls on it? and having it shape changed?

or ar there other (java) phys engines that can do that easly?

thanks!!