Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getCode()  RSS feed

 
Ian Cockcroft
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does getCode() and getDocumentation() work?
maybe if I want to show an applets code base and document?
I have this code from a book, what needs to be added to get it to run?




thanks in advance.
Ian
 
Ramen Chatterjee
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ian

SOmetimes it easiest just to start at the Sun tutorial. Looking at your post, I presume you are referring to the getCodeBase() and getDocumentBase() methods of java.applet.Applet? If so, you need to check the APIs to see what these methods do.

Sorry if this doesnt directly answer your question, but I think you will get more this way.

Good luck!

Ramen
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!