Hi, I have a question about a JTable . The program works by saving data of a product and then the list, but when wanting to modify by means of an external JFrame (that appears when pressing the EDIT button) I can not modify this data of the JTable
Hi, I have a question about a JTable . The program works by saving data of a product and then the list, but when wanting to modify by means of an external JFrame (that appears when pressing the EDIT button) I can not modify this data of the JTable
What I understand what you want to do is that when you save the JFrame edit, I list the data again, because all you have to do is click on it
private void btnGuardarActionPerformed(java.awt.event.ActionEvent evt) {
guardatoseditados();//Por ejemplo método que realiza la modificación de los datos
this.dispose(); //Cerrar JFrame
classJTable listTable = new classJTable();
listTable.listar(); //volver a listar los datos
}
And ready ..