This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi there! I created a JAVAApplet 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