goro
asked on
Applet loader
How to load an applet from other applet?
I have one big applet which starts over 40 sec. and I want to load it from a small applet which to show a message or a progress bar. What is the better way to implement this?
I have one big applet which starts over 40 sec. and I want to load it from a small applet which to show a message or a progress bar. What is the better way to implement this?
if it work for you -you can submit answer :)
also look
Sending Messages to Other Applets
http://java.sun.com/docs/books/tutorial/applet/appletsonly/iac.html
http://www.pbs.mcp.com/ebooks/1575211025/ch1.htm
http://codeguru.developer.com/java/articles/376.shtml
Interframe Applet Communication
http://www.cts.com/browse/wholder/Doug/FAQs/InterframeIAC.html
Example with sources
http://www.netwave.net/members/raji/sb/iacapplet.htm
Applets must be loaded from same CODEBASE!
Netscape FAQ
How do I communicate between my applets in the same browser?
Typically you will want some Javascript to orchestrate the communication. This provides flexibility and is more top-down. However, the applets can locate each other using Static classes or System properties, then communicate via an agreed upon object. Since classes are shared in the browser (meaning class file loaded once, Static fields instantiated once), you could implement a Registry for an applet to locate its communicates, or a pipeFactory to return an object implementing your protocol.
Only applets from the same web server are allowed to communicate with each other. More specifically, the applets and classes must share the same CODEBASE to see each other within the JavaVM, and the MAYSCRIPT property of the APPLETtag is required to utilize the LiveConnect JSObject classes for JS related communication.
funny:
Send a message from an Applet to another Applet on a different page
http://tactika.com/realhome/javaht/java-g3.html#g9
Sending Messages to Other Applets
http://java.sun.com/docs/books/tutorial/applet/appletsonly/iac.html
http://www.pbs.mcp.com/ebooks/1575211025/ch1.htm
http://codeguru.developer.com/java/articles/376.shtml
Interframe Applet Communication
http://www.cts.com/browse/wholder/Doug/FAQs/InterframeIAC.html
Example with sources
http://www.netwave.net/members/raji/sb/iacapplet.htm
Applets must be loaded from same CODEBASE!
Netscape FAQ
How do I communicate between my applets in the same browser?
Typically you will want some Javascript to orchestrate the communication. This provides flexibility and is more top-down. However, the applets can locate each other using Static classes or System properties, then communicate via an agreed upon object. Since classes are shared in the browser (meaning class file loaded once, Static fields instantiated once), you could implement a Registry for an applet to locate its communicates, or a pipeFactory to return an object implementing your protocol.
Only applets from the same web server are allowed to communicate with each other. More specifically, the applets and classes must share the same CODEBASE to see each other within the JavaVM, and the MAYSCRIPT property of the APPLETtag is required to utilize the LiveConnect JSObject classes for JS related communication.
funny:
Send a message from an Applet to another Applet on a different page
http://tactika.com/realhome/javaht/java-g3.html#g9
ASKER
vladi21, please send it as answer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can submit answer :)
Merry Christmas
Merry Christmas
ASKER