Hello, I have the current problem. As it stands im working on an ImageViewer project. I'm having trouble determining the mouse location for what I think are the following reasons.
I currently have the frame, and within that frame is a JTabbedPane.
Each tab is a new object, which creates a new ImagePanel nested inside a JScrollPane. I've tried determining the x,y location of the mouse through
to no avail. It gives me the mouse location in regards to the top left hand side of the JFrame. Is it possible to get the X,Y locations from within a scrollable component? Thanks , if you need any more info feel free to ask :).