Applet example 0.96

Started by Trob, January 30, 2005, 03:39:19 PM

Previous topic - Next topic

Trob

Is that applet example(bounce, in jpct 0.96 zip file) a good way to code applets for the newest jpct enginge? I mean was confused about the thread handling there...
~RK

EgonOlsen

Forget about the timer-thread if there should be such thing in the code and replace it with a none-threaded timer approach like the newer examples (fps, car) are doing it.

Trob

Thank you. If u could like to give more help i have antoher question.
I remember little about one guy who did a example in java how to run a java application both as an applet and as application without changing the code....do u know how to do that?

rolz

try adding psvm(String[]) to your applet
Regards,
Andrei