0

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

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by Phaelax
0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.