Hot Swapping Resources

R

Roedy Green

I was wondering about my options to dynamically add resources, e.g.
icons and fonts, to a program without shutting it down.

Do any of the following work?

1. add resource files to a directory on the classpath.

2. replace a jar containing the old resources with a new jar of the
same name?

3. something with classloaders.
 
R

Roedy Green

Do any of the following work?

1. add resource files to a directory on the classpath.

2. replace a jar containing the old resources with a new jar of the
same name?

3. something with classloaders.

perhaps the best way to load them from your own jar as raw bytes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top