this loop should run twice and it only runs once. It seems to freeze. I threw a couple printlns in there for
testing. The "Testmids Finished" line never prints so somewhere in the loop its freezing. I also checked to see if the freeze is happening in any other methods that are being called by this method and that is not the case. The problem is in this method and I can't figure it out for the life of me. The top loop, is
fullTable = 4
so the loop should run for j =2 and j = 3 then stop. It only runs for j = 2 that nothing happens, the program doesn't finish. There are no run time errors either. Any ideas?
(Also if anyone see's any suggestions on how to make this code nicer please let me know as I have no idea what I'm doing :] ) I am copying arrays all the time which seems like such a waste. When I pass these arrays to other methods, they modify the array and I need the original value so I need to make copies of arraylists over and over. Is there a way to avoid this? My main question is why is this program freezing though. THanks