Hi, I have some gif files as icons, But how can I specify the path to the file? I put all the icons in a folder named icons, it is in suncertify folder. I tried this way, it can work under windows OS, but I don't know if it can still work under other OS. Need your help, thank you. Regards, Damu
posted 12 years ago
Hi Damu, If you've tested that code (using "/" as separator in the path name) on Windows, it should be OK on other platforms too IMO. Does getResource() javadoc say something about the path name format ? (I have no doc with me for two days ). Best, Phil.