I have a Swing application and upon updating the JTable the GUI freezes. I know updates should be done from the EDT, so I use InvokeLater for it. My application runs on many threads at once(1000), so im guessing maybe that computing time is the cause. If so, can i set a minimum cpu time for the EDT so the GUI won't freeze?
One more question, only direct changes to the GUI should be done on EDT thread or also for example an insertion to an ArrayList that is a variable in class that extends a JFrame?
Answers much appreciated.