Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Revisiting an Applet - Urgent  RSS feed

Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
Why should you try IntelliJ IDEA ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!