swarm-support
[Top][All Lists]
Advanced

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

Re: drawSelf


From: Marcus G. Daniels
Subject: Re: drawSelf
Date: 19 Mar 2001 07:37:44 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PT" == Pietro Terna <address@hidden> writes:

PT> *** event raised for warning: WarningMessage *** function:
PT> swarm_directory_java_ensure_selector(), file:
PT> /src/Swarm/swarm/src/defobj/java.m, line: 1908 Method `drawSelf'
PT> type (address@hidden:0) differs from Swarm method's type 
(@address@hidden:4) ***
PT> execution continuing...

The argument and return types for a Java method have to be the 
same as any pre-existing method in the Swarm library.  That's telling
you that drawSelf in Swarm has an Object return, but your method
has a void return. 

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