Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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 are here: irt.org | FAQ | Java | Q4069 [ previous next ]

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.."

©2018 Martin Webb