So, I'm doing a long computational process and it calls a panel's repaint(long) method. After I call that method I do a system output and that works, but the panel doesn't repaing until after the computation is over. What's more, I've notices that java doesn't complete repaints (like when I resize the window) until after the computation is done. What can I do?
posted 16 years ago
Have you considered running the computation in its own thread?