Java Studen

Greenhorn
+ Follow
since Jul 05, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Java Studen

Ack, figured it out, sorry.

I had placed the png file in the src directory, not the bin directory.
12 years ago
I keep getting an error when I try to load an image. I've checked to make sure the directory has full access control and not set for read only. I'm really not sure what I'm doing wrong, I'm following a book, exactly letter for letter, but still getting this error. Here is a snippet of code, and if anyone can catch what is wrong, i'd really be greatful.



When I run I get an Uncaught error fetching image:
java.lang.NullPointerException

When I run the debugger, I find that the acc property has a security error, but I dont know why.
12 years ago