swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Excuse me,can you help me?


From: Marcus G. Daniels
Subject: Re: Excuse me,can you help me?
Date: 14 Jun 2001 13:41:26 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "QZ" == qiangzhen  <address@hidden> writes:

QZ> Selector sel = new Selector (Class.forName ("AkerlofCar"), "step",

I had to change two things to get your code running.

1) change all the Class.forName ("jakerlof.AkerlofCar") to
   AkerlofCar.class.  That is isn't right unless you add "package
   jakerlof;" in each of these files, and adjust the the CLASSPATH to
   point at the parent directory.  Also, in some places you had an
   absolute filesystem pathname in that argument, which isn't right,
   period.

2) In AkerlofModelSwarm you should call setMarket after creating each
   AkerlofCar. 
   



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]