This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTable question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable question" Watch "JTable question" New topic
Author

JTable question

Scott Parmley
Greenhorn

Joined: Oct 30, 2003
Posts: 3
Hello everyone!
Sorry for the cross post, but I think this question should be addressed here, instead of the applets thread.
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable question