If the loop is executing using the EDT's thread, the GUI won't be updated until the code using that thread returns it to the JVM.
To see what thread is being used add a println statement to print...
Type: Posts; User: Norm
If the loop is executing using the EDT's thread, the GUI won't be updated until the code using that thread returns it to the JVM.
To see what thread is being used add a println statement to print...
Why is setModel() called in 2 places? One call is with an empty model.
Why the loop in run() that is creating panel each time around the loop?
Please explain what "it fails" means? What happens when the code executes?