Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q4069 How do I know when a applet is loaded and how can I visualize the applet's loading on the page (i.e. a progressbar)?

irt.org | Knowledge Base | Java | Q4069 [ previous next ]

Q4069 How do I know when a applet is loaded and how can I visualize the applet's loading on the page (i.e. a progressbar)?

You do not have anything unique to identify how much of the applet byte code has been loaded at the loading time of the applet.

All you can do is to have two applets: one the continous progress bar applet, and the other the actual applet. Once the actual applet is loaded completely in the init() method of the applet you will have to communicate to the other progress bar applet that the actual applet is completely loaded and now it should stop showing the status "Loading completed.."


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.