Java Swing GUI exception - Exception in thread “AWT-EventQueue-0” java.util.NoSuchElementException: Vector Enumeration?

Problems like this generally happen when you try to update a Swing component outside of the Event Dispatch Thread (EDT).

Problems like this generally happen when you try to update a Swing component outside of the Event Dispatch Thread (EDT). Read the section from the Swing tutorial on Concurrency for more information and the solution. Also make sure the GUI is built on the EDT by using SwingUtilities.

InvokeLater(...). Download any example from the Swing tutorial and you will see how this is done. Since you appear to be using a JTable start with the SimpleTableDemo from the section on "How to Use Tables".

These links helped a lot to solve the problem Threads and Swing Using a Swing Worker Thread The last word in Swing Threads.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions