Hi,
I've created a swing application which collects data from a user and creates a graph with the data collected.
I need the paint method of the class which extends
applet to be able to access a
string.
I've tried passing the String to the paint method by way of instaniating the class from the
paint method like below, but can;t get it to work? I haven't worked with graphics in a long
time and could use any advice from any of you gurus on this. :-)
I'm using
java SE 7 for this on a windows platform, developing using Eclipse
IDE.
here's the segment I'm refering to:
The above segment as you can see is calling the following method in
the DisplayReport class:
Any advice dealing with getting the string to the GenerateLineGraph class would be awesome!
Thanks in advance for any input on this.