[Jaslibrary-support] Interface IColored
Brought to you by:
sonnessa
From: Nils W. <wei...@us...> - 2003-12-17 12:46:38
|
Hi, I've got a collection of agents in a MultiObjGrid, and each of them=20 implements the IColored interface, as they provide their own colour. I=20 get this warning: java.lang.IllegalArgumentException: The matrix passed to=20 LayerObjGridDrawer must contain IColored objects if no color is passed=20 to the constructor. If I give LayerObjGridDrawer a default colour in the constructor, it=20 uses the default colour and does not recognise the agents in the grid=20 implementing IColored. This doesn't seem to be a problem related to version 1.0beta, it happens=20 with 0.2 as well. Any suggestions? Thanks, Nils --=20 -------------------------------------------------------- Nils Weidmann Wissenschaftliches Zentrum f=FCr Umweltsystemforschung Universit=E4t Kassel, Kurt-Wolters-Stra=DFe 3, 34109 Kassel Tel: +49 (0)561 - 804 3905, Fax: +49 (0)561 - 804 3176 wei...@us... http://www.usf.uni-kassel.de |