posted 12 years ago
I'm running into some problems importing images in Eclipse. I'm trying to load some images and then store them in a Vector. Here is my code:
The program compiles, but when I run it, I get a NullPointerException when I try to access the BufferedImage stored in the vector. I have all the images stored in the src folder for the project in Eclipse. I tried running the program using on my school's UNIX server and there were no issues. Any help would be greatly appreciated. I can post the rest of my code if that would help.