writing an applet frame that does not die with the applet??

hi,
here is myproblem.
i want to write an applet which would pop  up a frame.now i sould be able to browse across to other html pages on the browser.and when i return back to the same html page on which the applet is located it should not be reinitiated rather the html should just be loaded and the frame be left alon without being destroyed and reloaded.
can this happen??
james
jamesb111Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

heyhey_Commented:
applet lifecycle is Controled from the browser.
when user exits the applet HTML page, applet is (usually) stopped / destroyed.
0
dhymesCommented:
You could derive your own frame class and override the method that is causeing the frame to be redrawn. Should be that simple. It appears that when the focus is lost from the frame and then returns, the OnDraw method is reloading the frame and probably all of it's controls.
0
dhymesCommented:
Also, it looks like frame is derived from the window class, so check out what methods it offers as well.

http://www.digital.com/java/documentation/1.2.2/api/java/awt/Frame.html#setState(int)
0
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

jamesb111Author Commented:
i dont mind the frame redrawn but would not want the frame  to be reinitialed ....so when u return toi the page with the applet u see that it pops up another frame ....i dont want that to happen ..what happens now is that it opens another frame and both have running threads.....
0
dhymesCommented:
Well, I will have to agree with heyhey, Once the web page goes out of focus and then back in, it is just like the page is being accessed for the first time so it will re-initialize the html page and all of it's components. :( Not to say that there may not possibly be a way around it.
0
jamesb111Author Commented:
well i think this is right but somebody explain this to my boss...
anyway i tried to set it in netscape and well it funtions the way i wish that is it will run the smae frame that had been popped up by the initial loading of the html page
but in IE it will create a new frame thus causing two frames ...:-(
james
0
heyhey_Commented:
browser dependend behavior ...

can you post a small piece of code ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jamesb111Author Commented:
i dont know what part do u want me posted anyway i have posted a large chunk in my other question
0
jamesb111Author Commented:
Thanks !!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.