If that's the case, then just say so and we can move this post over to the IDEs forum where you're more likely to get Netbeans answers.
(I posted a Swing answer because this is the Swing forum.) where the new Object is the vecotr consisting of the column names that will be added.
Your code for deleting the row by getting the selected row is ok.
But, this removes data only from the table and hence from the view.
Database('./db/sample.db'); // let data = ['Ansi C', 'C']; let sql = `UPDATE langs SET name = ? You still need to write code to delete the row from the db.For this, you would need to find your 'where' clause and pass appropriate value to it.Detailed Class.action Performed(Detailed Class.java:139) at javax.swing. Abstract Action Performed(Unknown Source) at javax.swing. Abstract Button$Handler.action Performed(Unknown Source) at javax.swing. Default Button Action Performed(Unknown Source) at javax.swing. Default Button Pressed(Unknown Source) at javax.basic. Basic Button Listener.mouse Released(Unknown Source) at I am very new to java and i need to have this done by end of today and i dont know how to do this?