This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Can anyone tell my why my icon isn't showing up? I have the .gif file copied to the main directory, the class directory, and the src directory (just to be safe). I thought that I only needed th .gif in the .class folder (the same directory the program is running from). Anyway, all I see is test with no icons.
-nothing important to say, but learnin' plenty-
to help figure out what's going on, use the full path to the image (just for testing) and see if that works. that will tell you if it's not finding the image or not. i bet you have it in a place that the vm can't find it. try putting it in the dir you are running from instead of hte place where the classes are. you should probably put your code and the image in a .jar file - then it is easy to load the image with something like: