Netbeans GUI builder and jtable stateChanged fired when add custom java bean to gui
-
05-10-2020 - |
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?
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