Yea I just wanted that the simulation gets to its end. Means that every bacteria is being removed by the penecilin. But that doesnt occur the "error". When I write the
method simulationStarten()...
Type: Posts; User: CrusoCraruso
Yea I just wanted that the simulation gets to its end. Means that every bacteria is being removed by the penecilin. But that doesnt occur the "error". When I write the
method simulationStarten()...
I call it with the method simulationStarten()
public void simulationStarten()
{
int dauer=999999999;
Darstellung d=new Darstellung(lebewesen);
...
I really forgot that single line of code "lebewesen = nLebwesen;" in the constructor of Lebewesen. Cant believe I forgot that.
Thanks to all of you. That solved it actually!!
--- Update ---
...
Hey guys! I get a NullPointerException Error and really dont know what to do anymore ... Ive tried anything I know and nothing helped so I hope someone here can help me!
I simulate bacteria and...