You are on page 1of 67

UITM TERENGGANU

KUALA TERENGGANU CAMPUS

CSC435 OBJECT-ORIENTED PROGRAMMING

GROUP PROJECT:

ALI’S MARKET PURCHASE CALCULATING AND STORING


SYSTEM

MEMBERS: 1.) AHMAD SYAFIQ BIN WAMZAH


GROUP: CS2442B2

DATE OF 4/05/2019
SUBMISSION:
NAME OF NORLINA BINTI MOHD SABRI
LECTURER:
Introduction of application program

The goal of our project is to provide a system to take records the customers purchase of the
goods in the markets and to calculate the amount of cash customers need to pay.

The type of goods that are sold are:

1) diary

2) frozen

3) fruits and vegetables

4) Dry Goods

5.) Drinks

And diary has 4 types:

1) Butter

2) Milk Powder

3.) Creamed Milk

4.) Cheese

And frozen has 4 types :

1) Fish
2) Chicken
3) Mutton
4) Lamb

And fruits and vegetables has 5 types:

1) Cabbage

2) Banana

3.)Watermelon

4.) Mango
5.) Spinach

And dry goods has 4:

1.) Sugar
2.) Bread
3.) Cereals
4.) Rice grains

And drinks has 4;

1.) Mineral Waters


2.) Drinking Waters
3.) Coco-cola
4.) Pepsi
Objectives of project development:

1) Calculate the goods taken by customers


2) Calculate the business income profit or loss.
3) Storing multiple purchasing records for future use.

Project Scope:

Scope

The application from this project will benefit the employee especially the cashier when
calculating the purchased goods.

1) Displaying the total price of purchase

Limitation

The following are the limitations of the program:

1)  This projects cannot support the amount of purchased by the customers more than
RM1000
Design of Application
JLabel is used to create text labels. For example JLabel to label the goods name
JTextField allows editing of a single line of text. New features include the ability to justify
the text left, right, or center, and to set the text's font. For example JTextField is used to let
user input the quantity of each purchases and also to display the total calculated for the
purchases.
JButton is a component the user clicks to trigger a specific action. For example, in or projects
we use Jbutton to make four button which is:
1) Reset button

2) Total button

3) Exit Button

JRadioButton - Radio buttons are groups of buttons in which, by convention, only one button
at a time can be selected. For example, in our projects JRadioButton are use for type of
payment method used by customers.
JCheckBox – Component that could be selected or not selected. In our project, this is used for
the selection of types of goods in every categories.
Below is our Main Page and Order Page :
LOGON SCREEN

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Logins;

import javax.swing.JOptionPane;
import java.awt.Toolkit;
import java.awt.event.WindowEvent;
import Logins.Login_s;

/**
*
* @author User
*/
public class Login extends javax.swing.JFrame {

/**
* Creates new form Login
*/
public Login() {
initComponents();
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jLabel1 = new javax.swing.JLabel();


jPanel1 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
Password = new javax.swing.JPasswordField();
Username = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jLabel5 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
jPanel3 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jLabel1.setFont(new java.awt.Font("Tekton Pro", 2, 24)); // NOI18N


jLabel1.setText("ALI MARKET CALCULATION SYSTEM");

jPanel1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(204, 51,


255), 30, true));

jLabel2.setText("Name:");
jLabel3.setText("Password:");

Username.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
UsernameActionPerformed(evt);
}
});

jButton1.setText("Login");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});

jButton2.setText("Reset");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});

jButton3.setText("Exit");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(86, 86, 86)

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addComponent(jLabel3)
.addComponent(jLabel2)))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(66, 66, 66)
.addComponent(jButton1)))
.addGap(79, 79, 79)

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addGroup(jPanel1Layout.createSequentialGroup()

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG, false)
.addComponent(Username, javax.swing.GroupLayout.DEFAULT_SIZE,
92, Short.MAX_VALUE)
.addComponent(Password))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jButton2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
146, Short.MAX_VALUE)
.addComponent(jButton3)
.addGap(75, 75, 75))))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(29, 29, 29)

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILI
NG)
.addGroup(jPanel1Layout.createSequentialGroup()

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASEL
INE)
.addComponent(jLabel2)
.addComponent(Username, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(44, 44, 44)
.addComponent(jLabel3))
.addComponent(Password, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 42,
Short.MAX_VALUE)

.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASEL
INE)
.addComponent(jButton1)
.addComponent(jButton2)
.addComponent(jButton3))
.addGap(57, 57, 57))
);
jLabel5.setIcon(new
javax.swing.ImageIcon("C:\\Users\\User\\Downloads\\content_1108_content_images_1596_s
lide.jpg")); // NOI18N
jLabel5.setText("jLabel5");

jPanel2.setBackground(new java.awt.Color(255, 204, 204));

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);


jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 91, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 0, Short.MAX_VALUE)
);

jPanel3.setBackground(new java.awt.Color(255, 153, 153));

javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);


jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 42, Short.MAX_VALUE)
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 0, Short.MAX_VALUE)
);
jPanel4.setBackground(new java.awt.Color(153, 153, 255));

javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);


jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 648, Short.MAX_VALUE)
);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 38, Short.MAX_VALUE)
);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());


getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(23, 23, 23)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE,
459, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(71, 71, 71))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(683, 683, 683))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 784,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 43,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(19, 19, 19)
.addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addComponent(jPanel3, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
.addGap(18, 18, 18)
.addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 338,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(221, 221, 221))
);

pack();
}// </editor-fold>

private void UsernameActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


String password=Password.getText();
String username=Username.getText();

if (password.contains("harmoni")&& (username.contains("ali")))
{
Password.setText(null);
Username.setText(null);
SystemExit();

Login_s Info= new Login_s();


Info.setVisible(true);

}
else
{
JOptionPane.showMessageDialog(null,"Invalid Login Details","Login
Error",JOptionPane.ERROR_MESSAGE);
Password.setText(null);
Username.setText(null);
}

// TODO add your handling code here:


}

private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {


System.exit(0);
// TODO add your handling code here:
}

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {


Username.setText(null);
Password.setText(null);
// TODO add your handling code here:
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and
feel.
* For details see
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {

java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (InstantiationException ex) {

java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (IllegalAccessException ex) {

java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

java.util.logging.Logger.getLogger(Login.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
}
//</editor-fold>

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Login().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JPasswordField Password;
private javax.swing.JTextField Username;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel5;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
// End of variables declaration
private void SystemExit()
{
WindowEvent winCloseing = new
WindowEvent(this,WindowEvent.WINDOW_CLOSING);
}

}
CODE 2: GOODS PURCHASE CALCULATING SYSTEM

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Logins;

import javax.swing.table.DefaultTableModel;

/**
*
* @author User
*/
public class Login_s extends javax.swing.JFrame {
private Object jTable1;

/**
* Creates new form Login_s
*/
public Login_s() {
initComponents();
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

buttonGroup1 = new javax.swing.ButtonGroup();


lamb = new javax.swing.JTextField();
chicken = new javax.swing.JTextField();
jLabel10 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
mutton = new javax.swing.JTextField();
fish = new javax.swing.JTextField();
banana = new javax.swing.JTextField();
cost = new javax.swing.JTextField();
service = new javax.swing.JTextField();
gov = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
total = new javax.swing.JTextField();
jLabel8 = new javax.swing.JLabel();
jLabel9 = new javax.swing.JLabel();
nametable = new javax.swing.JTextField();
fishbut = new javax.swing.JCheckBox();
chickenbut = new javax.swing.JCheckBox();
muttonbut = new javax.swing.JCheckBox();
lambbut = new javax.swing.JCheckBox();
bananabut = new javax.swing.JCheckBox();
credit = new javax.swing.JRadioButton();
jLabel1 = new javax.swing.JLabel();
watermelonbut = new javax.swing.JCheckBox();
mangobut = new javax.swing.JCheckBox();
spinachbut = new javax.swing.JCheckBox();
watermelon = new javax.swing.JTextField();
mango = new javax.swing.JTextField();
spinach = new javax.swing.JTextField();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
ictable = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
cabbagebut = new javax.swing.JCheckBox();
cabbage = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
breadbut = new javax.swing.JCheckBox();
sugarbut = new javax.swing.JCheckBox();
cerealsbut = new javax.swing.JCheckBox();
ricegrainsbut = new javax.swing.JCheckBox();
jLabel13 = new javax.swing.JLabel();
mineralswatersbut = new javax.swing.JCheckBox();
drinkingwatersbut = new javax.swing.JCheckBox();
cocacolabut = new javax.swing.JCheckBox();
pepsibut = new javax.swing.JCheckBox();
butterbut = new javax.swing.JCheckBox();
jLabel14 = new javax.swing.JLabel();
creamedmilkbut = new javax.swing.JCheckBox();
milkpowderbut = new javax.swing.JCheckBox();
cheesebut = new javax.swing.JCheckBox();
butter = new javax.swing.JTextField();
milkpowder = new javax.swing.JTextField();
creamedmilk = new javax.swing.JTextField();
cheese = new javax.swing.JTextField();
mineralswater = new javax.swing.JTextField();
drinkingwaters = new javax.swing.JTextField();
cocacola = new javax.swing.JTextField();
pepsi = new javax.swing.JTextField();
sugar = new javax.swing.JTextField();
bread = new javax.swing.JTextField();
cereals = new javax.swing.JTextField();
ricegrains = new javax.swing.JTextField();
cash = new javax.swing.JRadioButton();
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();
reset_button = new javax.swing.JToggleButton();
totalButton = new javax.swing.JButton();
exit_button = new javax.swing.JButton();
jPanel3 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setBackground(new java.awt.Color(255, 153, 153));

lamb.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
lambActionPerformed(evt);
}
});

chicken.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
chickenActionPerformed(evt);
}
});

jLabel10.setText("Cost of Meal");

jLabel11.setText("Service Charge");

jLabel12.setText("Gov Tax:");

fish.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fishActionPerformed(evt);
}
});

banana.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
bananaActionPerformed(evt);
}
});

cost.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
costActionPerformed(evt);
}
});

jLabel7.setText("Total Cost");

total.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
totalActionPerformed(evt);
}
});

jLabel8.setBackground(new java.awt.Color(255, 102, 255));


jLabel8.setFont(new java.awt.Font("Lucida Handwriting", 0, 24)); // NOI18N
jLabel8.setForeground(new java.awt.Color(255, 51, 51));
jLabel8.setText("ALI'S MARKET");

jLabel9.setText("Name:");

fishbut.setText("Fish");
fishbut.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
fishbutActionPerformed(evt);
}
});

chickenbut.setText("Chicken");

muttonbut.setText(" Mutton");

lambbut.setText(" Lamb");

bananabut.setText("Banana");

credit.setText("Credit/Debit");

jLabel1.setText("PAYMENT METHOD");
watermelonbut.setText("Watermelon");
watermelonbut.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
watermelonbutActionPerformed(evt);
}
});

mangobut.setText("Mango");

spinachbut.setText("Spinach");

jLabel3.setText("FROZEN");

jLabel4.setText("IC:");

cabbagebut.setText("Cabbage");

jLabel5.setText("FRUITS AND VEGATABLES");

jLabel6.setText("DRY GOODS");

breadbut.setText("bread");

sugarbut.setText("sugar");
sugarbut.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
sugarbutActionPerformed(evt);
}
});
cerealsbut.setText("Cereals");

ricegrainsbut.setText("rice grains");

jLabel13.setText("DRINKS");

mineralswatersbut.setText("Mineral Waters");

drinkingwatersbut.setText("Drinking Waters");

cocacolabut.setText("Coca-Cola");

pepsibut.setText("Pepsi");

butterbut.setText("Butter");

jLabel14.setText("DIARY");

creamedmilkbut.setText("Creamed Milk");

milkpowderbut.setText("Milk Powder");

cheesebut.setText("Cheese");

cash.setText("Cash");

jPanel1.setBackground(new java.awt.Color(255, 153, 51));

javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);


jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 428, Short.MAX_VALUE)
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 94, Short.MAX_VALUE)
);

jPanel2.setBackground(new java.awt.Color(255, 204, 153));

reset_button.setText("Reset");
reset_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
reset_buttonActionPerformed(evt);
}
});

totalButton.setText("Total");
totalButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
totalButtonActionPerformed(evt);
}
});

exit_button.setText("Exit");
exit_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
exit_buttonActionPerformed(evt);
}
});

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);


jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addGap(62, 62, 62)
.addComponent(totalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 76,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(150, 150, 150)
.addComponent(reset_button)
.addGap(175, 175, 175)
.addComponent(exit_button)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel2Layout.createSequentialGroup()
.addContainerGap(104, Short.MAX_VALUE)

.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASEL
INE)
.addComponent(reset_button)
.addComponent(totalButton, javax.swing.GroupLayout.PREFERRED_SIZE, 29,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(exit_button))
.addGap(76, 76, 76))
);
jPanel3.setBackground(new java.awt.Color(255, 153, 102));

javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);


jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 293, Short.MAX_VALUE)
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 786, Short.MAX_VALUE)
);

jPanel4.setBackground(new java.awt.Color(255, 153, 102));


jPanel4.setForeground(new java.awt.Color(102, 255, 102));

javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);


jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 446, Short.MAX_VALUE)
);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 100, Short.MAX_VALUE)
);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());


getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(39, 39, 39)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel14)
.addComponent(milkpowderbut)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(lamb,
javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(chickenbut,
javax.swing.GroupLayout.PREFERRED_SIZE, 88,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(muttonbut)
.addComponent(fishbut,
javax.swing.GroupLayout.PREFERRED_SIZE, 68,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lambbut))
.addGap(11, 11, 11)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(fish,
javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(chicken,
javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(layout.createSequentialGroup()
.addGap(11, 11, 11)
.addComponent(mutton,
javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE)))))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,
false)
.addComponent(creamedmilkbut,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
.addComponent(jLabel3,
javax.swing.GroupLayout.Alignment.LEADING,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
.addComponent(cheesebut))
.addGap(346, 346, 346)
.addComponent(jLabel2))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel9)
.addComponent(jLabel4))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(nametable,
javax.swing.GroupLayout.PREFERRED_SIZE, 254,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addGap(11, 11, 11)
.addComponent(ictable,
javax.swing.GroupLayout.PREFERRED_SIZE, 94,
javax.swing.GroupLayout.PREFERRED_SIZE))))))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addGroup(layout.createSequentialGroup()
.addGap(39, 39, 39)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addGroup(layout.createSequentialGroup()
.addGap(190, 190, 190)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(cheese,
javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 54, Short.MAX_VALUE)
.addComponent(creamedmilk,
javax.swing.GroupLayout.Alignment.TRAILING)))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(butterbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(milkpowder,
javax.swing.GroupLayout.PREFERRED_SIZE, 54,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(butter,
javax.swing.GroupLayout.PREFERRED_SIZE, 54,
javax.swing.GroupLayout.PREFERRED_SIZE)))))
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel7)
.addGap(41, 41, 41)
.addComponent(total,
javax.swing.GroupLayout.PREFERRED_SIZE, 56,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel12,
javax.swing.GroupLayout.PREFERRED_SIZE, 111,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel11))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(service,
javax.swing.GroupLayout.PREFERRED_SIZE, 56,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(gov,
javax.swing.GroupLayout.PREFERRED_SIZE, 68,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel10,
javax.swing.GroupLayout.PREFERRED_SIZE, 80,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(cost,
javax.swing.GroupLayout.PREFERRED_SIZE, 52,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(34, 34, 34)))
.addGroup(layout.createSequentialGroup()
.addGap(8, 8, 8)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel6)
.addGap(182, 182, 182)
.addComponent(jLabel1))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,
false)
.addGroup(layout.createSequentialGroup()
.addComponent(breadbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(bread,
javax.swing.GroupLayout.PREFERRED_SIZE, 32,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(sugarbut)
.addComponent(cerealsbut)
.addComponent(ricegrainsbut))

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 110,
Short.MAX_VALUE)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(ricegrains,
javax.swing.GroupLayout.DEFAULT_SIZE, 37, Short.MAX_VALUE)
.addComponent(cereals)
.addComponent(sugar)))))
.addGap(29, 29, 29)
.addComponent(credit)
.addGap(38, 38, 38)
.addComponent(cash)))
.addGap(64, 64, 64))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(cabbagebut)
.addComponent(jLabel5,
javax.swing.GroupLayout.PREFERRED_SIZE, 157,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(8, 8, 8))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(bananabut)
.addGap(39, 39, 39)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(banana,
javax.swing.GroupLayout.PREFERRED_SIZE, 48,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(cabbage,
javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE))))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(spinachbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(spinach,
javax.swing.GroupLayout.PREFERRED_SIZE, 56,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(watermelonbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))

.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(mangobut)
.addGap(31, 31, 31)))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(watermelon)
.addComponent(mango,
javax.swing.GroupLayout.PREFERRED_SIZE, 54,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addComponent(jLabel8))
.addGap(5, 5, 5)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(71, 71, 71)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(35, 35, 35)
.addComponent(jLabel13))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING,
false)
.addGroup(layout.createSequentialGroup()
.addComponent(drinkingwatersbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(drinkingwaters,
javax.swing.GroupLayout.PREFERRED_SIZE, 27,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(mineralswatersbut)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(mineralswater,
javax.swing.GroupLayout.PREFERRED_SIZE, 32,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(cocacolabut)
.addComponent(pepsibut))
.addGap(51, 51, 51)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(cocacola,
javax.swing.GroupLayout.PREFERRED_SIZE, 27,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(pepsi,
javax.swing.GroupLayout.PREFERRED_SIZE, 27,
javax.swing.GroupLayout.PREFERRED_SIZE))))))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel4,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))))))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(775, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(165, 165, 165)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel9)
.addComponent(nametable,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(2, 2, 2)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel4)
.addComponent(ictable,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(layout.createSequentialGroup()
.addGap(11, 11, 11)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel8)
.addGap(10, 10, 10)
.addComponent(jLabel5)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(28, 28, 28)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(bananabut)
.addComponent(banana,
javax.swing.GroupLayout.PREFERRED_SIZE, 19,
javax.swing.GroupLayout.PREFERRED_SIZE))

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(watermelonbut)
.addComponent(watermelon,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mangobut)
.addComponent(mango,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cabbagebut)
.addComponent(cabbage,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addComponent(jPanel1,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGap(15, 15, 15)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(spinachbut)
.addComponent(spinach, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel14))
.addGap(20, 20, 20)
.addComponent(butterbut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(milkpowderbut)
.addComponent(milkpowder,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(creamedmilkbut)
.addComponent(creamedmilk,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cheesebut)
.addComponent(cheese, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addComponent(jLabel3)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(fishbut)
.addComponent(fish, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(chickenbut)
.addComponent(chicken, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(26, 26, 26)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(muttonbut)
.addComponent(mutton, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(20, 20, 20)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(lamb, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lambbut)))
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(5, 5, 5)
.addComponent(jLabel13)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(mineralswatersbut)
.addComponent(mineralswater,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(drinkingwatersbut)
.addComponent(drinkingwaters,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(cocacolabut)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(pepsibut))
.addGroup(layout.createSequentialGroup()
.addComponent(cocacola,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(pepsi, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(18, 18, 18)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(butter, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel6)
.addComponent(jLabel1)
.addComponent(cash)
.addComponent(credit)))
.addGap(20, 20, 20)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(sugarbut)
.addComponent(sugar, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(breadbut)
.addComponent(bread, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(0, 0, 0)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(cerealsbut)
.addComponent(cereals, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(ricegrainsbut)
.addComponent(ricegrains, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(90, 90, 90)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(10, 10, 10)
.addComponent(jLabel10)
.addGap(3, 3, 3))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(cost, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(jLabel11)
.addGap(30, 30, 30))
.addGroup(layout.createSequentialGroup()
.addComponent(service, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(4, 4, 4)

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(gov, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel12))

.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))

.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(3, 3, 3)
.addComponent(jLabel7))
.addComponent(total, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGap(13, 13, 13)
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 155,
Short.MAX_VALUE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 22,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(293, 293, 293))
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);

pack();
}// </editor-fold>

private void lambActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void costActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void totalButtonActionPerformed(java.awt.event.ActionEvent evt) {


double a=Double.parseDouble(butter.getText());
double b=Double.parseDouble(milkpowder.getText());
double c=Double.parseDouble(creamedmilk.getText());
double d=Double.parseDouble(cheese.getText());
double e=Double.parseDouble(fish.getText());
double f= Double.parseDouble (chicken.getText());
double g=Double.parseDouble(mutton.getText());
double h=Double.parseDouble(lamb.getText());
double i=Double.parseDouble(cabbage.getText());
double j= Double.parseDouble (banana.getText());
double k=Double.parseDouble(watermelon.getText());
double l=Double.parseDouble(mango.getText());
double m=Double.parseDouble(spinach.getText());
double n= Double.parseDouble (sugar.getText());
double o=Double.parseDouble(bread.getText());
double p=Double.parseDouble(cereals.getText());
double q=Double.parseDouble(ricegrains.getText());
double r=Double.parseDouble(mineralswater.getText());
double s= Double.parseDouble (drinkingwaters.getText());
double t=Double.parseDouble(cocacola.getText());
double u=Double.parseDouble(pepsi.getText());

double totala=3.0*a;
double totalb=3.0*b;
double totalc=2.30*c;
double totald=3.00*d;
double totale=2.50*e;
double totalf=2.70*f;
double totalg=3.0*g;
double totalh=3.0*h;
double totali=2.30*i;
double totalj=3.00*j;
double totalk=2.50*k;
double totalz=2.70*l;
double totalm=3.0*m;
double totaln=2.30*n;
double totalo=3.00*o;
double totalp=2.50*p;
double totalq=2.70*q;
double totalr=3.0*r;
double totals=2.30*s;
double totalt=3.00*t;
double totalu=2.50*u;

double
totalall=totala+totalb+totalc+totald+totale+totalf+totalg+totalh+totali+totalj+totalz+totalm+t
otaln+totalo+totalp+totalq+totalr+totals+totalt+totalu;
cost.setText(""+totalall);
double charge= 0.6*totalall;
service.setText(""+charge);
double tax= 0.12*totalall;
gov.setText(""+tax);
double pricetotal= totalall+charge+tax;
total.setText(""+pricetotal);

// TODO add your handling code here:


}

private void totalActionPerformed(java.awt.event.ActionEvent evt) {


// TODO add your handling code here:
}

private void reset_buttonActionPerformed(java.awt.event.ActionEvent evt) {


butterbut.setSelected(false);
milkpowderbut.setSelected(false);
creamedmilkbut.setSelected(false);
cheesebut.setSelected(false);

fishbut.setSelected(false);
chickenbut.setSelected(false);
muttonbut.setSelected(false);
lambbut.setSelected(false);

cabbagebut.setSelected(false);
bananabut.setSelected(false);
watermelonbut.setSelected(false);
mangobut.setSelected(false);
spinachbut.setSelected(false);

sugarbut.setSelected(false);
breadbut.setSelected(false);
cerealsbut.setSelected(false);
ricegrainsbut.setSelected(false);

mineralswatersbut.setSelected(false);
drinkingwatersbut.setSelected(false);
cocacolabut.setSelected(false);
pepsibut.setSelected(false);

credit.setSelected(false);
cash.setSelected(false);

cost.setText("");
service.setText("");
gov.setText("");
total.setText("");
// TODO add your handling code here:
}

private void exit_buttonActionPerformed(java.awt.event.ActionEvent evt) {

System.exit(0);
// TODO add your handling code here:
}
private void bananaActionPerformed(java.awt.event.ActionEvent evt) {
if (bananabut.isSelected())

{
bananabut.setEnabled(true);
bananabut.setText("");
}
else
{
bananabut.setEnabled(false);
bananabut.setText("0");
}

// TODO add your handling code here:


}

private void fishActionPerformed(java.awt.event.ActionEvent evt) {


if (fishbut.isSelected())

{
fishbut.setEnabled(true);
fishbut.setText("");
}
else
{
fishbut.setEnabled(false);
fishbut.setText("0");
}

// TODO add your handling code here:


}

private void chickenActionPerformed(java.awt.event.ActionEvent evt) {


if (chickenbut.isSelected())

{
chickenbut.setEnabled(true);
chickenbut.setText("");
}
else
{
chickenbut.setEnabled(false);
chickenbut.setText("0");
}

// TODO add your handling code here:


}

private void watermelonbutActionPerformed(java.awt.event.ActionEvent evt) {


if (watermelonbut.isSelected())

{
watermelonbut.setEnabled(true);
watermelonbut.setText("");
}
else
{
watermelonbut.setEnabled(false);
watermelonbut.setText("0");
}

private void sugarbutActionPerformed(java.awt.event.ActionEvent evt) {


if (sugarbut.isSelected())

{
sugarbut.setEnabled(true);
sugarbut.setText("");
}
else
{
sugarbut.setEnabled(false);
sugarbut.setText("0");
}
// TODO add your handling code here:
}

private void butterbutActionPerformed(java.awt.event.ActionEvent evt) {


if (butterbut.isSelected())

{
butterbut.setEnabled(true);
butterbut.setText("");
}
else
{
butterbut.setEnabled(false);
butterbut.setText("0");
}
// TODO add your handling code here:
}

private void mineralswatersbutActionPerformed(java.awt.event.ActionEvent evt) {


if (mineralswaterbut.isSelected())

{
mineralswaterbut.setEnabled(true);
mineralswaterbut.setText("");
}
else
{
mineralswaterbut.setEnabled(false);
mineralswaterbut.setText("0");
}

// TODO add your handling code here:


}

private void drinkingwatersbutActionPerformed(java.awt.event.ActionEvent evt) {


/ if (drinkingwaterbut.isSelected())

{
drinkingwaterbut.setEnabled(true);
drinkingwaterbut.setText("");
}
else
{
drinkingwaterbut.setEnabled(false);
drinkingwaterbut.setText("0");
}
/ TODO add your handling code here:
}
private void cocacolabutActionPerformed(java.awt.event.ActionEvent evt) {
if (cocacolabut.isSelected())

{
cocacolabut.setEnabled(true);
cocacolabut.setText("");
}
else
{
cocacolabut.setEnabled(false);
cocacolabut.setText("0");
}

// TODO add your handling code here:


}

private void pepsibutActionPerformed(java.awt.event.ActionEvent evt) {


if (pepsibut.isSelected())

{
pepsibut.setEnabled(true);
pepsibut.setText("");
}
else
{
pepsibut.setEnabled(false);
pepsibut.setText("0");
}
// TODO add your handling code here:
}

private void ricegrainsbutActionPerformed(java.awt.event.ActionEvent evt) {


if (ricegrainsbut.isSelected())
{
ricegrainsbut.setEnabled(true);
ricegrainsbut.setText("");
}
else
{
ricegrainsbut.setEnabled(false);
ricegrainsbut.setText("0");
}

// TODO add your handling code here:


}

private void lambbutActionPerformed(java.awt.event.ActionEvent evt) {


if (lambbut.isSelected())

{
lambbut.setEnabled(true);
lambbut.setText("");
}
else
{
lambbut.setEnabled(false);
lambbut.setText("0");
}
// TODO add your handling code here:
}

private void milkpowderbutActionPerformed(java.awt.event.ActionEvent evt) {


if (milkpowderbut..isSelected())

{
milkpowderbut.setEnabled(true);
milkpowderbut.setText("");
}
else
{
milkpowderbut.setEnabled(false);
milkpowderbut.setText("0");
}
// TODO add your handling code here:
}

private void creamedmilkbutActionPerformed(java.awt.event.ActionEvent evt) {


if (creamedmilkbut.isSelected())

{
creamedmilkbut.setEnabled(true);
creamedmilkbut.setText("");
}
else
{
creamedmilkbut.setEnabled(false);
creamedmilkbut.setText("0");
}

// TODO add your handling code here:


}

private void cheesebutActionPerformed(java.awt.event.ActionEvent evt) {


if (cheesebut.isSelected())

{
cheesebut.setEnabled(true);
cheesebut.setText("");
}
else
{
cheesebut.setEnabled(false);
cheesebut.setText("0");
}

private void muttonbutActionPerformed(java.awt.event.ActionEvent evt) {


if (muttonbut.isSelected())

{
muttonbut.setEnabled(true);
muttonbut.setText("");
}
else
{
muttonbut.setEnabled(false);
muttonbut.setText("0");
}

// TODO add your handling code here:


}

private void cabbagebutActionPerformed(java.awt.event.ActionEvent evt) {


if (cabbagebut.isSelected())

{
cabbagebut.setEnabled(true);
cabbagebut.setText("");
}
else
{
cabbagebut.setEnabled(false);
cabbagebut.setText("0");
}
// TODO add your handling code here:
}

private void bananabutActionPerformed(java.awt.event.ActionEvent evt) {


if (bananabut.isSelected())

{
bananabut.setEnabled(true);
bananabut.setText("");
}
else
{
bananabut.setEnabled(false);
bananabut.setText("0");
}

// TODO add your handling code here:


}

private void mangobutActionPerformed(java.awt.event.ActionEvent evt) {


if (mangobut.isSelected())

{
mangobut.setEnabled(true);
mangobut.setText("");
}
else
{
mangobut.setEnabled(false);
mangobut.setText("0");
}

// TODO add your handling code here:


}
private void spinachbutActionPerformed(java.awt.event.ActionEvent evt) {
if (spinachbut.isSelected())

{
spinachbut.setEnabled(true);
spinachbut.setText("");
}
else
{
spinachbut.setEnabled(false);
spinachbut.setText("0");
}

// TODO add your handling code here:


}

private void breadbutActionPerformed(java.awt.event.ActionEvent evt) {


if (breadbut.isSelected())

{
breadbut.setEnabled(true);
breadbut.setText("");
}
else
{
breadbut.setEnabled(false);
breadbut.setText("0");
}

// TODO add your handling code here:


}
private void cerealsbutActionPerformed(java.awt.event.ActionEvent evt) {
if (cerealsbut.isSelected())

{
cerealsbut.setEnabled(true);
cerealsbut.setText("");
}
else
{
cerealsbut.setEnabled(false);
cerealsbut.setText("0");
}
// TODO add your handling code here:
} // TODO add your handling code here:
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and
feel.
* For details see
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {

java.util.logging.Logger.getLogger(Login_s.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
} catch (InstantiationException ex) {

java.util.logging.Logger.getLogger(Login_s.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
} catch (IllegalAccessException ex) {

java.util.logging.Logger.getLogger(Login_s.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

java.util.logging.Logger.getLogger(Login_s.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
}
//</editor-fold>

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Login_s().setVisible(true);
}
});
}

// Variables declaration - do not modify


private javax.swing.JTextField banana;
private javax.swing.JCheckBox bananabut;
private javax.swing.JTextField bread;
private javax.swing.JCheckBox breadbut;
private javax.swing.JTextField butter;
private javax.swing.JCheckBox butterbut;
private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.JTextField cabbage;
private javax.swing.JCheckBox cabbagebut;
private javax.swing.JRadioButton cash;
private javax.swing.JTextField cereals;
private javax.swing.JCheckBox cerealsbut;
private javax.swing.JTextField cheese;
private javax.swing.JCheckBox cheesebut;
private javax.swing.JTextField chicken;
private javax.swing.JCheckBox chickenbut;
private javax.swing.JTextField cocacola;
private javax.swing.JCheckBox cocacolabut;
private javax.swing.JTextField cost;
private javax.swing.JTextField creamedmilk;
private javax.swing.JCheckBox creamedmilkbut;
private javax.swing.JRadioButton credit;
private javax.swing.JTextField drinkingwaters;
private javax.swing.JCheckBox drinkingwatersbut;
private javax.swing.JButton exit_button;
private javax.swing.JTextField fish;
private javax.swing.JCheckBox fishbut;
private javax.swing.JTextField gov;
private javax.swing.JTextField ictable;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JTextField lamb;
private javax.swing.JCheckBox lambbut;
private javax.swing.JTextField mango;
private javax.swing.JCheckBox mangobut;
private javax.swing.JTextField milkpowder;
private javax.swing.JCheckBox milkpowderbut;
private javax.swing.JTextField mineralswater;
private javax.swing.JCheckBox mineralswatersbut;
private javax.swing.JTextField mutton;
private javax.swing.JCheckBox muttonbut;
private javax.swing.JTextField nametable;
private javax.swing.JTextField pepsi;
private javax.swing.JCheckBox pepsibut;
private javax.swing.JToggleButton reset_button;
private javax.swing.JTextField ricegrains;
private javax.swing.JCheckBox ricegrainsbut;
private javax.swing.JTextField service;
private javax.swing.JTextField spinach;
private javax.swing.JCheckBox spinachbut;
private javax.swing.JTextField sugar;
private javax.swing.JCheckBox sugarbut;
private javax.swing.JTextField total;
private javax.swing.JButton totalButton;
private javax.swing.JTextField watermelon;
private javax.swing.JCheckBox watermelonbut;
// End of variables declaration

private void clearFields() {


throw new UnsupportedOperationException("Not supported yet."); //To change body of
generated methods, choose Tools | Templates.
}
}

You might also like