T H Lim
posted 9 years ago
I have written this small test code to show the difference in the graphical output of 2 different JVMs i.e. Apple JDK 1.5.0 and Windows JDK 1.5.0_13. When I execute this code in Apple JVM, I can see the message "Hi There" quite clearly. Whereas, in Windows JVM, the message is harder be seen if I set Thread.sleep to 100. If I increase the sleep period, I could see a blinking "Hi There" message. Is this has to do with the way I have written the code (probably, I am missing something here) or the JVMs implementation? Either way, how can make this work the way I wanted it? Please advise. Thanks.