This tutorial will teach you how to make a Cake Shop Inventory Management System in Java step by step. This system will helpful you to learn Inventory Management System.
int sum = 0; if(chkCho.isSelected()) { String cho = "Chocolate cake"; int price = 1000; int qty = Integer.parseInt(txtCqty.getText()); int tot = price * qty; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { cho, price, qty, tot } ); } if(chkRed.isSelected()) { String crispy = "Red velvet cake"; int price = 1200; int qty = Integer.parseInt(txtRqty.getText()); int tot = price * qty; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { crispy, price, qty, tot } ); } if(chkCup.isSelected()) { String hotdeal = "Cupcake"; int price = 500; int qty = Integer.parseInt(txtCupqty.getText()); int tot = price * qty; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { hotdeal, price, qty, tot } ); } for(int i=0; i<jTable1.getRowCount(); i++) { sum = sum + Integer.parseInt(jTable1.getValueAt(i, 3).toString()); } txtbill.setText(Integer.toString(sum));
The Touchable Shop POS (Point of Sale) system is a sophisticated software solution developed using…
Creating a responsive login form is a crucial skill for any web developer. In this…
In this tutorial will teach Laravel 12 CRUD API by step. Laravel 10 CRUD Application …
In this lesson we talk about laravel 12 image uploading and display the image step…
In this tutorial will teach Laravel 12 CRUD Application step by step. Laravel 12 CRUD…
Conditional statements in Python allow us to control the flow of execution based on conditions.…