Getting information about Jar file from Applet

E

erictetz

Is it possible to read information about the JAR file my applet was
loaded from?

Specifically, I would like to be able to read the timestamp of the JAR
file my applet was loaded from.

Cheers,
Eric
 
R

Roedy Green

Is it possible to read information about the JAR file my applet was
loaded from?

Specifically, I would like to be able to read the timestamp of the JAR
file my applet was loaded from.

You can use Applet.getCodeBase. In a pinch, just pass the jar url as
a parameter, or timestamp the source code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top