Java 3D programming practice