• Post Reply Bookmark Topic Watch Topic
  • New Topic

trouble with constructor

 
Geoff Jefferson
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to figure out how to get data from a JTextField, put it into an ArrayList, and to display it in a JTable.
I believe my problem is in my constructor design. Here is a copy of it.
A copy of the actionListener that instantiates the object is in the second listing, and the method that updates the
table is after that.







The following method is in a class that extends AbstractTableModel
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!