Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Running a Java Applet from a JAR

Name: > 2009-07-25 19:11

I programmed this applet that simulates the short term scheduler from the vista system32 kernel. Because Java Applets don't let you input a list of processes from a file, I have to hardcode a list of processes into the program to run the simulation. To solve this, I figure I could just create a non-applet version of the program that can be executed from a JAR. I tried to do this by simply replacing my init() method with a main(String args[]) method and loading it into a jar, but this did not work. How do I fix this?!?

I'm a Java noob that has never programmed anything in Java besides applets.

Name: !3LrT5NRVks 2009-07-25 21:51

>>10
Files must be loaded from the same domain name for security reasons. (This can be circumvented by asking for higher privileges from the user).  If you are working locally try having the files in the same place as the html and code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List