Hi there! I created a JAVA Applet that has a TABLE which lists records from the SQL database. The problem is that i wanted to select multiple rows from the table but i cudnt. Is there any way to select multiple rows and insert into the SQL table. Can i add check box in the Applet TABLE? Thanks in advance. Cheers, Pradeep.
try <jtable>.getSelectionModel().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION) or <jtable>.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION) As for adding a checkbox, that question must get asked three times a week in this forum. Do a search or check out this page