I think you should try Opengl... Since you mention that you use java i suggest that you should use JOGL, a wrapper for the opengl libraries in java...
Here is a quite extensive tutorial. http://www3.ntu.edu.sg/home/ehchua/programming/opengl/JOGL2.0.html
As a starting demo you could possibly draw a rectangle and a cube in 3d space and move the cube using the data you extract from the wiimote