wood burning stoves 2.0*
The moose likes Applets and the fly likes Need help with JTable in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Need help with JTable in Applet" Watch "Need help with JTable in Applet" New topic
Author

Need help with JTable in Applet

Scott Parmley
Greenhorn

Joined: Oct 30, 2003
Posts: 3
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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help with JTable in Applet
 
Similar Threads
JTable Columns
JTable question
jtable
JCheckBox in JTable not working
JTable colored rows or columns