tanks
Hope this helps..
Joe
The getLocationOnScreen() method of the MouseEvent class that returns
a Point object is what you need. It gives the x,y coordinates,
absolute coordinates, of mouse event. If you want a position relative
to the container itself, that is the JPanel, then you might be
thinking of getMousePosition() of the component class that returns a
point relative to the position of the component.
I believe you know how to extend the mouseadapter or implement the
various mouselisteners.