File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Background Loading!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Background Loading!!!!!!" Watch "Background Loading!!!!!!" New topic
Author

Background Loading!!!!!!

kannan
Greenhorn

Joined: Apr 26, 2002
Posts: 7
Hello,
How to load my resources (sound, Images) to my applet thru Background loading? And also tell me how to reduce the applet init time???
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
"kanan",
This is your FOURTH warning. Your name needs to be changed to include a FIRST name, followed by a SPACE, followed by a LAST NAME.
Again, the JavaRanch naming policy is:
here
You can change your name:
here
I see you have changed your name once already, but it is still not a valid name. If you don't change your name after this warning, your account will be locked.
Thank you for your cooperation!


Rob
SCJP 1.4
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
How to load my resources (sound, Images) to my applet thru Background loading? And also tell me how to reduce the applet init time???
Somebody else may have some different and/or better ides, but since when did that keep me from responding?
To keep the amount of time it takes to initially load an applet, you could just instantiate and load as few resources and objects as possible in the beginning. Then load things as needed or spawn a new thread that takes care to load resources (such as images) in the background. You may want to use an ImageObserver while loading larger or many samll images.
If you have further questions on these topics, you've come to the right place to ask them, ya just gotta follow that one rule we keep buggin' ya 'bout.
Good luck and hope to see ya 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Background Loading!!!!!!