I am using Button.setIcon( new ClassResource(…) ) to get PNGs as Icons.
It works fine most of the time, but sometimes an ‘placeholder’ image is
displayed instead of the real image, and sometimes even nothing is displayed.
For me it looks like some caching bug, because if i inspect the element with
the browser (chrome/firefox), i see a changing path in the tag,
that has the form //APP///.
Yes. But it was my fault! ;-(
There was a message about TabSheets loosing the icons,
so i thought, it might be the same, but the error was between my own ears!
My problem was a ComponentFactory class, that was using some static elements.
So everything was fine, as long only one session of the Application was running.
The next sessions simply didn’t get some private data, but were using the wrong things…