I have an application with several components. One of them is a JTabbedPane
with other stuff in it (obviously). I access this pane only via this getter:
The stacktrace seems to suggest you access Swing components from another thread then the Event Dispatch Thread (EDT). This is not allowed.
I am pretty certain if you would make sure you only access Swing components from the correct thread you won't see this exception anymore.
More information can be found in the Concurrency in Swing tutorial. You can also take a look at this article which contains a RepaintManager
which can help you to detect Swing threading violations