File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Revisiting an Applet - Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Revisiting an Applet - Urgent" Watch "Revisiting an Applet - Urgent" New topic

Revisiting an Applet - Urgent

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: Revisiting an Applet - Urgent
It's not a secret anymore!