Forums Register Login

closing !!

+Pie Number of slices to send: Send
Imagine you have an applet running under a window of IExplorer and that applet open a new window(Frame). How can I close that applet window(applet context) and frame too from that frame?
thankx
asheet
+Pie Number of slices to send: Send
I think that you would have to close the browser window with JavaScript. I don't know of any function in pure Java to close the browser window because it is not a Java generated window... If you need help on interacting with JavaScript, there is a good tutorial here.
+Pie Number of slices to send: Send
well MR. Manfred Leonhardt you did'nt help me last time i hope you have a answer to this question.
asheet
+Pie Number of slices to send: Send
Hi,
I think Nathan already answered your question. You can't close a browser from an applet. If you want to close a java frame just use:
Frame f;
f.dispose();
Regards,
Manfred.
+Pie Number of slices to send: Send
thankx for ur advice but i have solve this problem.you just go and have a cup of coffee..
asheet
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1114 times.
Similar Threads
destroying an applet
How to embed Applet into the Browser?
destroy()
documentbase
embedding awt frames in HTML........
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:55:12.