| Gerry 2004-03-08, 11:29 pm |
| HI
I have 3 classes here. One is a Java GUI, the other two are involed in
stripping and processing of information off a webpage.
Of these latter two classes, one contains a main method which connects
to a webpage and reads the info off it, it calls the other class which
parses this information and holds the variables I need to create
buttons for the main gui!
Is it possible at all to integrate, the class that reads the webpage,
into, the JAva gui class.I need to do this to access the variables
that the parsing class is holding, as previously I have had to create
an instance of this class in the webpage reader class, but this was no
good to me as the GUI could not access this information, i.e can I
create an instance of this stripper at the begining of main in the GUI
class so as I can use the results for this for producing my buttons?
I've tried to do this but I am getting unresolved symbol errors. I was
wondering should I use global variables to hold the needed info also ?
Any help at all greatly appreciated,
Thanks
Gerry
|