It might be time to make resources more tightly bound to a the
program, so that for example the compiler/jar builder could
AUTOMATICALLY pack just the resources referenced.
They could be typed, and there could be compile time type matching so
that for example you would not accidentally feed a sound file as an
icon, or a icon format that the caller does not sup****t. You might
even do size bounds checking at compile time.
A resource would become treated much the way a class is.
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com