Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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: http://aspose.com/file-tools
 
subject: Preloading Aplet before displaying html
 
It's not a secret anymore!