This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all -
I have including some code that demonstrates what I am trying to do.
I want to override addRow() and setValueAt() in DefaultTableModel but whenever I
add a row and scroll down to see the new row, I get an exception.
I included the addRow() call here in main()
In my actual app, addRow() is of course
being called another place.
Thanks in advance for the help. I'm not new to Swing, but I can't figure this one out.
Here is the code:
Don't you think there are some people that look at Sun's forums and don't look here?
I'm sure there are, but its extremely annoying to spend valuable time answering a question only to find out its already been answered and you haven't bothered to update both postings with a "thank you", which is the way most cross-posters operate.
If you don't understand that and feel a need to repond with a "smart alec" comment rather than a "sorry", well you are on your own as far as I'm concerned.