The Bike Repair POS System using Java. The project is built to manage sales and transactions. To make a new transaction, fields such as: Repair Type and Repair type to be selected. If you like to learn point of sales systems step by step, this is the right place to learn from the beginning. In this tutorial useful for making a point of sales system for small a shops.
The system shall be able to select the relevant Repair type.
String name; int price; DefaultTableModel model;
if(chkwash.isSelected()) { name = "Wash Bike"; price = 1200; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { name, price }); } if(chkbrakes.isSelected()) { name = "Adjust brakes "; price = 1400; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { name, price }); } if(chkheadset.isSelected()) { name = "Adjust headset"; price = 1600; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { name, price }); } if(chkmoving.isSelected()) { name = "Adjust moving"; price = 2000; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { name, price }); } if(chkwheels.isSelected()) { name = "Align wheels"; price = 2600; model = (DefaultTableModel)jTable1.getModel(); model.addRow(new Object[] { name, price }); } Double sum = 0.0; for(double i=0; i<jTable1.getRowCount(); i++) { sum = sum + Double.parseDouble(jTable1.getValueAt((int)i,1).toString()); } txtbill.setText(Double.toString(sum));
private void txtpayKeyReleased(java.awt.event.KeyEvent evt) { Double pay,total,bal; pay = Double.parseDouble(txtpay.getText()); total = Double.parseDouble(txtbill.getText()); bal = pay - total; txtbal.setText(String.valueOf(bal)); }
In this tutorial will teach Laravel 11 Api MVC with Repository Pattern Crud Application step…
In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel 11 CRUD…
in this tutorials we will be talk about how to make a times table in…
In this tutorials will teach How to add two numbers in Laravel 10. (more…)
In this tutorial, we will teach the process of building a full-stack application using Node.js,…
In this tutorial, we will explin you through the process of building a Hospital Management…