Hi, how would I go about changing the mouse cursor image? I have a jLabel with an image of graph on it and I would likt the mouse cursor to change to a cross-hair when the mouse is moved onto the jLabel. Does anyone have an idea as to how to achieve this?


here's a site detailing changing the mouse cursor. http://www.devdaily.com/java/edu/pj/pj_hourglass_cursor/
just substitute whatever cursor you want it to be (there's a list down the page a bit of the cursor constants) in the code. I would recommend you then implement MouseListener to check that the cursor is/isn't ove the JLabel