Message while loading applet

I would like to display a message inside my HTML page "Please wait... applet is loading..." and when applet loads I would like to hide that HTML message and to show the applet. Is this possible? How should I do that?
[223 byte] By [MilanTomica] at [2007-11-26 15:14:49]
# 1

I do it as follows,

- set the CSS positioning for the applet to be absolute and off-screen

- enable the 'mayscript' applet property

- on completion of applet initialisation, call a Javascript function

- in that Javascript function, set the applet positioning to be static and on-screen, and any "please wait" elements to be hidden

itchyscratchya at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thank you for quick response. I will try that.
MilanTomica at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...
# 3
I don't understand this part:- on completion of applet initialisation, call a Javascript function<Applet> tag doesn't have any OnFinish property, right? Where should I reference my JavaScript function?Thank you in advance.
MilanTomica at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...
# 4
Have a google for "jsobject"
itchyscratchya at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...
# 5
And what if user click's "Cancel" when asked to load/run the applet? Can that user action be detected?Thank you in advance.
MilanTomica at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...
# 6

Depends what you mean by "when asked to load/run the applet" - do you mean whilst the applet is loading?

In that case I'd make the Javascript event handler for the button set a boolean value, and in your Javascript function called by the applet on loading, check for it. So if the user's clicked cancel it won't change the CSS attributes to display it.

itchyscratchya at 2007-7-8 9:06:21 > top of Java-index,Desktop,Core GUI APIs...