1 | I got a bit worried in these long computations. Was the program running OK? |
2 | So I used a useful dodge of inserting print statements to the Java Console |
3 | (if(i%5000 == 0 ) System.out.println ("Generating " +i);) |
4 | Program wrote a message every 5000 trials. |
5 | I also wrote out some messages in paint method to show it had got there. |
6 | Note messages in paint are repeated each time page reloads but earlier messages from init are not. |