aspose file tools*
The moose likes Applets and the fly likes message before an applet loads. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "message before an applet loads." Watch "message before an applet loads." New topic
Author

message before an applet loads.

ravi vardhin
Ranch Hand

Joined: Jun 04, 2001
Posts: 37
Hi,
Is their any method where in i can give a message like "Applet loading Please wait" before my applet completely loads?
Any one please help
Thanks and regards,
Ravi
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Sure you can! You can put up a Canvas and paint your message on it at the very beginning of the init() method in your applet. The "real" display can initialize after that, or run in its own thread if you want some animation in your "please wait" display.
If you want to put this message in the status bar of the browser, HTML/JavaScript controls would probably be a better way of doing it.
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
ravi vardhin
Ranch Hand

Joined: Jun 04, 2001
Posts: 37
hi,
Thanks for your reply.
Is their any sample code through which i can simulate the problem.
Thanksa and regards,
ravi
 
Consider Paul's rocket mass heater.
 
subject: message before an applet loads.