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?
goroAsked:
Who is Participating?
 
vladi21Connect With a Mentor Commented:
Have an applet launch an other applet
http://codeguru.developer.com/java/articles/379.shtml
0
 
goroAuthor Commented:
Adjusted points to 400
0
 
vladi21Commented:
look
Have an applet launch an other applet
http://codeguru.developer.com/java/articles/379.shtml
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
vladi21Commented:
if it work for you -you can submit answer :)
0
 
vladi21Commented:
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



0
 
goroAuthor Commented:
vladi21, please send it as answer
0
 
vladi21Commented:
you can submit answer :)

Merry Christmas
0
All Courses

From novice to tech pro — start learning today.