Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: message before an applet loads.