The error messages you posted show what happened and where. For example:
On line 192 in Main there is an array index of 19 that is out of bounds (the array has too few elements)
Type: Posts; User: Norm
The error messages you posted show what happened and where. For example:
On line 192 in Main there is an array index of 19 that is out of bounds (the array has too few elements)
Those messages look very important for helping you find your problems.
Well for now, can you copy the first 20 and the last 20 lines with ... between to see if it could have any useful information.
OK, I know nothing about an iMac.
Do you have any command prompt windows for running java from a commandline so you can see println() output?
Ok, can you run a test now and copy the contents of the Java console and paste it here with comments showing where you think the problem is?
A hanging/freezing program usually is an unending loop.
If your explanation were included in with the output to show which ones show what, it would help.
Having to scroll up and down as I read your later postings to see what you are talking about makes...
if (ii>=totalenemies) break;
message = "Second loop broken";
Can you explain what the message means? It looks like the message is output if you do NOT break.
A better debug would be to show...
The println() output goes into the browser's Java console.
Sorry, your output example list makes no sense. I don't know what is an error vs normal output.
Perhaps if you added some more text...
Can you show the console showing what you have printed out as debug trace?
I don't see any println() statements in the code you've posted.
Program comments would help there. Put the comments...