Hey everyone,
Now I’ve been programming for nearly two years in Java, but this one little tidbit has got me stumped.
I’ve got two separate threads running. One doing painting in a JFrame, and the other performing I/O work.
For some odd reason, when the I/O thread is doing its thing, the components refuse to paint in the JFrame. Even if I try calling repaint(), it will ignore the call until the I/O has finished.
Any ideas?