File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable Rows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Rows" Watch "JTable Rows" New topic
Author

JTable Rows

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Is it possible to add rows to a JTable after it has been created. For instance, when the user hits enter, a new row is added.
Thanks
Cardwell
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Do a search in this forum. It has been discussed numerous times. I would also suggest using a button to add the row and not the enter key.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable Rows