Author Topic: Applet example 0.96  (Read 3003 times)

Trob

  • Guest
Applet example 0.96
« on: January 30, 2005, 03:39:19 pm »
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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Applet example 0.96
« Reply #1 on: January 30, 2005, 04:14:33 pm »
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

  • Guest
Applet example 0.96
« Reply #2 on: February 05, 2005, 12:18:34 pm »
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?

Offline rolz

  • float
  • ****
  • Posts: 280
  • Technocrat
    • View Profile
Applet example 0.96
« Reply #3 on: February 07, 2005, 07:53:13 am »
try adding psvm(String[]) to your applet
Regards,
Andrei