importing graphs onto GUI frame

Reply

Join Date: Nov 2004
Posts: 15
Reputation: matt_5104 is an unknown quantity at this point 
Solved Threads: 0
matt_5104 matt_5104 is offline Offline
Newbie Poster

importing graphs onto GUI frame

 
0
  #1
Nov 8th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster

Re: importing graphs onto GUI frame

 
0
  #2
Nov 8th, 2004
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC