Difference between refresh and restart
Hello everyone
This is probably a stupid question but can someone explain to me the difference between refresh and reload and which one is used when you hit F5 in a browser windows.
Here is actually what is it all about:
I am converting a Java Multythreading (more then 15 threads are active almost all the time) Application into an applet. After running into a lot of difficulties (RandomAccessFile, Security Exceptions...) I finally managed to make the applet run properly. But when I hit F5 it all get messed up. So I saw that I need to manually force all threads to quit before I start the applet again. So I did that, the applet start after it makes sure that all threads from the former lunch are dead. And it work just fine. But it only works when I use restart (stop - start). When I hit F5 two things are possible: A browser crash (FireFox don't know about IE) or
Thread [Thread-13] (Suspended (exception ThreadDeath))
and the debugger shows the thread executing a Thread.sleep(25)
Can someone please give some advise.