File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editing in ABstractTableModel

 
Haris Tasawar
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have created a Jtable by using Hibernate....... Now i have to make the Jtable values to be edited at runtime.... Previously is used DefaultTableModel and vectors for Jtable data Editing and implemented the SetValueAt () method, but i am having trouble implementing this method using AbstractTableModel..... It always gives me an NullPointerException.

I need help in this. Could someone shed some light on this problem?

Thanks.


P.S : The data i get from hibernate is coming in ArrayList.

 
Rob Spoor
Sheriff
Pie
Posts: 20381
46
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the code of your table model and the exception stack trace?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic