swarm-support
[Top][All Lists]
Advanced

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

any clue?


From: Murali Nandula
Subject: any clue?
Date: Tue, 5 Oct 1999 11:20:47 -0400

Hello,

I am using swarm2.01 (Java interface).

1) ran into the following error: 

/src/Swarm/swarm/src/defobj/directory.m:331 =[Directory
switchObjc:javaObject]

Could anybody help me? 


2) One more thing which was a little annoying is that the way of using

    ScheduleImpl.at$createActionTo$message(long, Object, Selector, Object
arg1) 

    I was using something like this:

        sched.at$createActionTo$message(1, this, new
Selector(getClass(),"moveTo",true), "left") ;

    and the following 'moveTo' method declaration gave me runtime error:

        public Object moveTo(String direction) {
                // do something with 'direction'
        }

   I had to do it like this:

        public Object moveTo(Object direction) {
                String dirstr = (String) direction;
                // do something with 'dirstr'
        }

thanks,
Murali



                  ==================================
   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]