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: Anonymous 2009-07-25 19:19

>>1
By not working did you mean it still didn't let you load from your file? or did it not let you run the program at all?

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