Possible Duplicate:
Adding rows to a JTable
I am creating a jTable. Initially it has no rows.If we click “add” button a new row will insert.Is it possible to do this in a jTable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update your underlying
TableModeland fire the appropriate event. Or, if you use an extension ofDefaultTableModel, use theaddRowmethod.Consult the table tutorial for more information.