Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with JTable in Applet

 
Scott Parmley
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone!
I'm having trouble with JTable in an applet. I'm trying to make a dynamic table useable in an applet. My problem may be less about the applet it self and more about JTable. Currently, I am using DefaultTableModel and DefaultTableColumnModel in my implementation. I setup the DefaultTableColumnModel first, and later use the DefaultTableModel to add/delete rows dynamically. The problem arises with the TableModel. When editing is finished in a cell, all the cells of that row replicate the value of the edited cell.
I'm really not sure what I'm missing here, so any help here would be MUCH appreciated.
Thanks very much,
-Scott
CODE:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic