Hello gromacs. Welcome to the Java Programming Forums.

What doesn't work? Where abouts are you stuck?

It might be useful to attach p1.png, p2.png, p3.png.