Int qty = Integer.parseInt(txtqty.getValue().toString()) Äf = (DefaultTableModel)jTable3.getModel() įor(int i=0 i } Add the Product details into the JTableĪfter receiving the product name and price where the user has the option to add the qty by clicking the add button to see all Products details which will be shown in the below table. JOptionPane.showMessageDialog(this, "Book Code not Found") Pst = con.prepareStatement("select * from book where id = ?") we created the textfield name which is txtbcode of this project. Paste this Code inside the keypress Event of the textfield.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |