Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

to add new row with checkbox selected...  RSS feed

 
kumar m
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my project I have to create a table with 2 columns, 1 column is checkbox and other column is String type. In the same JFrame one textarea and one add button should be there. When we type text in the textarea and click add button, it should add a new row in the table with the checkbox selected and the 2nd column containing the text.
I want to use AbstractTableModel.
Please help me to solve this issue. If you have sample code that will be more helpful.
Thank you,
Regards,
kumar m
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!