when i use mouse click event in java i can catch the x coordinate and the y coordinate of the point clicked by using event.getX() and event.getY(). But when similarly i use event.getZ(),it is giving error.
i desperately need the Z coordinate also to be read as iam working on OPENGL and java and developing a graphics tool for which this Z coordinate is very very important.
please somebody help me how to go about it or any other way by which i can read all the three coordinates X,Y,Z of a mouse click action.
code in this regard will be highly helpful.
please do the needful. hoping a quick response...........