wood burning stoves 2.0*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
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.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Preloading Aplet before displaying html