I have some code running in a swingworker, because it might cause the UI to block, I would like to revise the UI with the progress of the swingworker thread so I am using publish/process to revise a JLabel, which works, but there are other UI components that I would like to revise, is this the only thread safe way to do it, through the process method?
I once got this exception when running it it, I assume it is because I was revising the UI components in the doInBackground method rather than from the process method?
java.lang.Boolean cannot be cast to javax.swing.Painter