We had a strange thing happen to our application and I think it is a Java bug. The swing application with toolbar icons and other images was left running over night - during that time something may have happened where the resources got low and the gui (probably) started to redraw all haywire like it does - in the morning some of the images became corrupt - in that some of them were blank and others were all haywire looking but stagnant and others were fine. And they didn't clean themselves up - they are just staying in that corrupted looking state. If you restart the app - the images look fine. Does anyone know of a work around for this or should I log a bug for Sun - we are using 1.4.1_01 - I've already looked in Sun's bug database and couldn't find this exact problem. The one thing is my ImageIcons are loaded on init and are static finals - I don't know if this is a factor. It seems like Java cached them in some funky state and saved them that way.
hi, if this happens every time you let the app running for a long time, and it happens on different machines the same way, you should write a test application that behaves the same way (you will have to check that), and post it to the bug parade. Only if they can run the testcase and it shows this strange behaviour they can decide if this is a bug in the jre. Chantal