I'm having problems figuring out why this snippet of code behaves differently on my two PCs:
txtRules is defined as an AWT TextArea.
The code performs as I would expect on a machine with the JRE 1.3: the
word test is printed ten times, each on a separate line in the text area.
However, on my desktop machine with JRE 1.4, the word test is printed in the text area three times per line. In the text area, I see:
testtesttest
testtesttest
test
If I build the code with the 1.3 compiler and run it under the 1.4 JVM, I see the same thing. Both PCs are running Windows 2000. The PC with JRE 1.3 has Win2k Service Pack 1 installed. The PC with JRE 1.4 has Service Pack 2 installed. Why do these two behave differently? Thanks for your help!
-Ben