Hi, just wondering if anyone could help with a little problem. I'm designing a GUI that models the behaviour of a gas turbine engine. I need to add a graph i have scanned into my computer onto the GUI frame, and also use the mouse cursor to click on the graph and read off certain x,y values. I know I can use mouseClicked method, but how do interpolate the coordinates obtained, into coordinates on the actual graph? Thanks

If you wanted to simply display the graph, that would be no problem and you could probably do so with ImageIcon class. But you want to interact with the graph, and unless you want to do a lot of extra programming with slight image recognition-like effects, you'll need to recreate the graph in java. I don't know off the top of my head what the classes are called to make graphs.