Hi, I am basically writing some code that makes a line graph, using Threads and seperate classes etc.. so originally the class that did the graphing was an applet. I am trying to run this as standalone and using another class to have main() SO far I think it has been ok where I use a Frame to hold the applet and run init() by creating an object instance of my applet class. Also the HTML file that ran this Applet.class had some parameters. I have managed to just hard code them into the JAVA class applet file but one of them I do not know what to do. So my HTML snippet is:
So for codebase="." I originally had in the applet code:
mfile I just set to "market.txt" which is fine, but I do not know what to replace getDocumentBase() with as that expects a URL object. I did try:
so that typecast attempt did not work. Any help is appreciated. Thanks
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads