Question

i make some custom java beans components to add at my GUI. This componenent contains a jtable with a stateChangeListener, the problem is when i add this component to my GUI stateChaged is fired (and fire an exception).

How can i resolve this?

Was it helpful?

Solution

Is it your own StateChangeListener (and not somewhere inside JTable)?! If so, the exception and the stack trace should tell you where and what is wrong. I would guess something isn't initialized in the right order.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top