Is there a way to find the url of the applet?
Lets say I want to write an applet that displays the url of the server the applets is stored on. Is that possible and what is the function for knowing it?
I was thinking something like
Code :
TextField t;
t.setText(thisURL());
where thisURL() is the funktion that returns the url of the server. Is this possible?
Re: Is there a way to find the url of the applet?
Have you tried any of the applet class's methods? Read the API doc to see if there are any methods the will do what you want. Then test the to see what they return.