loading + drawing + animate an md2 file

So i discover this code:http://pastebin.com/XbprgqhB
in java on google that actually loads an md2 file, but in don´t know how to draw and animate the model.I need to make an animation using linear interpolation.Can anyone help me drawing and animate an md2 file with this code?
thanks!

never tried to use an md2 file but i know the theory.

-First step you need to figure out how to draw the first model frame.
– a frame is basicallly a series of models and shapes at a single point in time.
-Next figure out how to draw the subsequent frames.

the linear translation is then the determination of where are the model points if the point the time is between two frames.
this is done by comparing the points at the start position and end position and then adjusting the down a linear path by a percentage.

Thanks for the answer