Refresh page
3 posts in topic
Flat View  Flat View

Posted By:   John_Zukowski
Posted On:   Monday, October 29, 2001 08:05 PM

How can I programmatically have an applet refresh/reload the HTML page that contains the applet?

Re: Refresh page

Posted By:   evan_seguin  
Posted On:   Thursday, February 20, 2003 10:30 AM

Have your applet do a callout to a javascript method on the page that refreshes the page.

Look into the JSObject for more information on how to do this

Re: Refresh page

Posted By:   Daniel_Haas  
Posted On:   Tuesday, October 30, 2001 06:23 AM

I only have a simple solution and no big Java solution:

make a Page consisting of two frames, the first shows the Applet and the rest, the second is hidden.

Tell the applet to reload the hidden frame (with the target). In the hidden frame you have a JavaScript that makes something like that:


Simple and easy Solution.

Re: Refresh page

Posted By:   shivaram_madala  
Posted On:   Monday, October 29, 2001 09:35 PM


As the Applet is downloaded to ur machine, the refresh on the
web browser's page would not refresh ur applet, but it u r
looking for changing in the graphics, yes it happens. But if u
want to have the logic executed, we have to program the same.
probably my placing a button or something like that.

About | Sitemap | Contact