In connection with my question (may be), I found another exception type that I not able to catch and print-out from SwingWorker
thread.
How can I to generate RepaintManager
exceptions?
I read this CheckThreadViolationRepaintManager
and this approach by Alexander Potochkin
, but nothing seems to solve my issues.
If it helps, the example below
throwsprints multiple variations of the followingException
, mostly for each phase of the frame's UI delegate initialization. I usedCheckThreadViolationRepaintManager
, but theAspectJ
variation looks interesting, too.