| | |
importing graphs onto GUI frame
![]() |
•
•
Join Date: Nov 2004
Posts: 15
Reputation:
Solved Threads: 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
•
•
Join Date: Mar 2004
Posts: 763
Reputation:
Solved Threads: 38
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.
![]() |
Similar Threads
- Display an image using java GUI (Java)
- wierd gui/constructor problem (Java)
- Buttons (Python)
- Tk logo on GUI window: (Python)
- Creating a GUI that accepts user input help (Java)
- manipulating graphs in a GUI (Java)
- importing jpegs (Java)
Other Threads in the Java Forum
- Previous Thread: How do i debug this app?
- Next Thread: Looking for advice on creating a Virtual Map
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle physics plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree trolltech unlimited utility webservices windows





