Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refreshing an applet in a browser  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet that when the refresh button is pressed within a browser, the applet does not reload properly. Shift-refresh does not fix the problem either. So I have written a method reset() which "resets" the applet and I've put it in the start() method of the applet. However, this creates a new problem. When a Netscape browser is resized, it calls start() which will reset my applet...so this is no good. Is there a better way to go about this? Also, in IE on the Mac, when refresh is pressed, the html page reloads but the applet does not appear.
Thanks!
 
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you're on the right track... look for whatever logic is "not working correctly" and move it to the start() and stop() methods...

I really can't help you much more than this without code and a more in-depth explanation of what you are trying to do...

-Nate
 
It will give me the powers of the gods. Not bad for a tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!