thank you for the help.
I tried to create a dynamic JTable, but I got frustrated trying;
So I switched to an alternative:
each time a user wants to add data, he double click on "myitem", a new shell appears with a txtelement, a checkbox, and an OK button; the user enters his name, checks the box if he wants, than clicks OK.
It works but I have to print the name and true or false value each time I press OK; which is not my objective
Can you please help me find the way to implement a dynamic JTable; I tried looking in tutorials but each time I try a code my program crashs:(
Thank you for your help,