Thread
:
Help with method getCodeBase()
View Single Post
#
1
(
permalink
)
07-31-2007, 07:01 PM
fernando
Member
Join Date: Jul 2007
Posts: 40
Help with method getCodeBase()
Hi, I'm trying to load an Image for my applet:
Code:
getImage(getCodeBase(), "ship.gif")
It compiles fine, but when I try to run it getCodeBase() returns a nullPointerException.
This is really confusing as I cant find another way to do this...
Thanks.
Sponsored Links
fernando
View Public Profile
Send a private message to fernando
Find all posts by fernando