Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Applets and the fly likes Preloading Aplet before displaying html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Preloading Aplet before displaying html" Watch "Preloading Aplet before displaying html" New topic

Preloading Aplet before displaying html

Dar Var
Ranch Hand

Joined: Oct 12, 2004
Posts: 74
I have a Java Applet on a html page containing a form.

The problem is the form is showing up before the Applet has finished loading.

Is there anyway to stop the html showing before the Applet is ready?

Progress bar or something?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
You could keep the form invisible (by using CSS), and once the applet is initialized, it could manipulate the page DOM to turn on visibility. This would be done through LiveConnect.
I agree. Here's the link:
subject: Preloading Aplet before displaying html
It's not a secret anymore!