* @see net.sf.kpex.prolog.FunBuiltin#exec(net.sf.kpex.prolog.Prog)
*/
@Override
public int exec(Prog p)
{
JinniCanvas component = (JinniCanvas) ((JavaObject) getArg(0)).toObject();
Color color = (Color) ((JavaObject) getArg(1)).toObject();
component.setColor(color);
return 1;
}