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 20:51

>>1
Java applets can read from files, google it.  If there is some other problem, we can't really help since you didn't clearly explain what your program does.

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