Hi,

I have many applets in my application and for loading applets it takes too much time! I found that for adding panel to container it takes 4-5 sec.
My question is that how can I reduce this time? or Is there any alternative way by which my applet will load fast?

My suggestions:

1. Bundle all classes and resource files in a jar file.
2. Try to preload the heavier files (e.g. sound files) in a background thread, instead of init() method.

My resource files are already bundled in jar.
Actually my problem is that for adding panal it takes too much time. This time differs from application to application.

Loading time will differ from app to app.

How big is this app that your using?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.