Results 1 to 2 of 2
Thread: Help with method getCodeBase()
- 07-31-2007, 05:01 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 40
- Rep Power
- 0
- 08-03-2007, 10:43 PM #2
Applets run in an AppletContext whether provided by the appletviewer or a browser page. If you run an applet from a main method or load the applet into an application there will be no AppletContext and getCodeBase will return null. In this case you can use an alternate/other image loading method. See how to import a picture into an applet for some options.
Similar Threads
-
method not abstract, does not override actionperformed method.
By Theman in forum New To JavaReplies: 2Last Post: 03-26-2010, 05:12 PM -
Method Help
By pringle in forum New To JavaReplies: 4Last Post: 04-16-2008, 01:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks