aspose 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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Rows" Watch "JTable Rows" New topic

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.
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.
subject: JTable Rows