*
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
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet revesit problem - Help pls" Watch "Applet revesit problem - Help pls" New topic
Author

Applet revesit problem - Help pls

Sajee Joseph
Ranch Hand

Joined: Jan 17, 2001
Posts: 200
Hi,
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
Regards
Saj
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet revesit problem - Help pls