File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Applets
Bookmark "message before an applet loads." Watch "message before an applet loads." New topic

message before an applet loads.

ravi vardhin
Ranch Hand

Joined: Jun 04, 2001
Posts: 37
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,
Michael Ernest
High Plains Drifter

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
Thanks for your reply.
Is their any sample code through which i can simulate the problem.
Thanksa and regards,
I agree. Here's the link:
subject: message before an applet loads.
It's not a secret anymore!