Message-ID: <811651105.53.1425037477576.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_52_1483111462.1425037477576" ------=_Part_52_1483111462.1425037477576 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
All gui swing classes uses the IconBundle class to get there ico= ns. This class is managing ImageIcons to avoid having two times the same im= age loaded in memory, if the image has allready been loaded it will return = you the same reference.=20
Isn't it a little heavy to load images and images in memory like thi=
Don't worry, this class use weakreferences for ImageIcons, so= they are remove by the Garbage Collector when no one uses them.
I consider icons as not important and should never block the program, th= at's why the IconBundle class will never return errors, in= the worst case (can not fine the image) it will return a 1x1 transparant I= mageIcon.=20
make a property file :=20 =20
Once the file is ready, load it once at startup in the IconBundle := =20 =20
nothing simpler :=20