File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applet revesit problem - Help pls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet revesit problem - Help pls" Watch "Applet revesit problem - Help pls" New topic

Applet revesit problem - Help pls

Sajee Joseph
Ranch Hand

Joined: Jan 17, 2001
Posts: 200
I have written a JApplet. I access it thru the browser. After the applet is displayed, i type a new URL and go to a new page. Now when i click on the back button, i get back my applet. My applet has a logon page. I notice that on revisiting the page , my Logon screen appears again. Even when i click on refresh button(whithout navigating to any other page) i notice that i get the Logon screen. Which means that my applet is destroyed and re-initialized. But i thought that on revisiting a page, only the 'start' method of The JApplet will be called. But this proves wrong for me. Am i wrong in any way?? Is there any means in which i can make my applet not destroy itself on refresh, but rather call just the 'start' method again??
I hope i get an answer for this. I need this very urgently
I agree. Here's the link:
subject: Applet revesit problem - Help pls
It's not a secret anymore!