Hi Friends,
I am working on a Chat Project. I use Java2 features like Obj.
Serialization although
it is available from jdk1.1 onwards IE does not support it so I had to use
Java Plugin.
Now in my Applet I want to hide all pvt users window when the user
minimizes IE window &
show all PVT Windows when the user maximizes the IE Browser window.
To do this you will use start() & stop() methods. But Java Plugin does
not call these methods.
Infact IE call start when the Applet is first created & stop when u close
the Browser just like
init() & destroy() methods.
I also tried componentShown() & componentHidden() methods but even they
are not fired on
show & hide of Applet.
I have read on this list that using Java Plugin means total seperation
of Browser & Applet.
But I need to do this hidding & showing of PVT Users window as & when the
Applet is shown.
But I cant. Can somebody tell me how to do this using Java Plugin.
Also I feel I am not using any Swing components etc of Java2 so why do
I need to use Java Plugin
If I dont it gives me this error in Java Console :
java.lang.InstantiationException: jambo/patelsoft/client/ChatClientApplet
at com/ms/applet/BrowserAppletFrame.newInstance (BrowserAppletFrame.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
Microsoft (R) VM for Java, 5.0 Release 5.0.0.2752
I am using Object Serialization, Iterators, HashMap etc which I suppose were
there in jdk1.1 onwards
& IE does support it. I use IE5.0
I had also read somewhere that IE does not allow classes in com.*
hierarchy to be Dynamically
downloaded so I also changed my package. Initially it was com.patelsoft.*
now I made it jambo.*
just to get over it. But still no luck.
Can anybody tell me how to use my jdk1.1 complaint Applet in IE5.0 without
Java Plugin.
& if u feel that I am using some Java2 specific classes then Please tell me
how can I detect
when my Applet is shown & when minimized so that I can achieve my work.
Please try helping me It is urgent.
Thanks in Advance.
Jiger
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html