|
Author |
Topic: refresh/reload applet (Read 305 times) |
|
Frederic Guest
|
refresh/reload applet
« on: Jan 28th, 2004, 10:41pm » |
|
Hi, i need to set back all values and delete all objects and i don't want to mess with doing all that 'manually'. Is there a possibility to refresh the whole applet? or an easy workaround? Thanks!
|
|
|
|
mKoser
|
Re: refresh/reload applet
« Reply #1 on: Jan 29th, 2004, 2:53am » |
|
i guess one (REALLY LAZY) way of doing it, would be to simple make a URL-link to the page which contains the applet .... and thereby just reloading the entire HTML page .... hmmm, a silly way of doing it, but easily achieved! look here in the reference: http://processing.org/reference/link_.html + mikkel
|
« Last Edit: Jan 29th, 2004, 2:53am by mKoser » |
|
mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
|
|
|
Frederic Guest
|
Re: refresh/reload applet
« Reply #2 on: Jan 31st, 2004, 1:07pm » |
|
Not exactly what i was looking for, but thanks!
|
|
|
|
arielm
|
Re: refresh/reload applet
« Reply #3 on: Jan 31st, 2004, 6:17pm » |
|
i guess there's no easy workaround: "resetting the game manually" is something that has to be taken in count at the software architecture level. and in general, refreshing web pages that contain java applets is eating a lot of fresh RAM...
|
Ariel Malka | www.chronotext.org
|
|
|
|