Add the rest of the calculations to the code:The operations such as (+, -, *, /, MOD, Power, Squr, ^, Tan, Cos, Sin,)? import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import java.lang.Math; import java.lang.Math.*; import java.awt.Color; import java.awt.color.*; import java.awt.Font; import java.awt.SystemColor; class calc extends JFrame implements ActionListener { JButton jb1; JTextField jt1, jt2; JLabel lbl,lb2,lb3,lb4; private JButton button; calc() { getContentPane().setBackground(new Color(250, 191, 200)); //*******************JLabel********************** lb3 = new JLabel("First number:"); lb3.setForeground(new Color(204, 51, 111)); lb3.setFont(new Font("Tahoma", Font.BOLD, 15)); lb3.setBounds(20, 50, 150, 30); getContentPane().add(lb3); //*******************JTextField********************** jt1 = new JTextField(); jt1.setBounds(150, 53, 150, 30); getContentPane().add(jt1); //*******************JLabel********************** lb4 = new JLabel("Second number:"); lb4.setForeground(new Color(102, 0, 255)); lb4.setFont(new Font("Tahoma", Font.BOLD, 15)); lb4.setBounds(20, 80, 150, 30); getContentPane().add(lb4); //*******************JTextField********************** jt2 = new JTextField(); jt2.setBounds(150, 83, 150, 30); getContentPane().add(jt2); lb2 = new JLabel("-----"); lb2.setForeground(new Color(51, 51, 255)); lb2.setFont(new Font("Tahoma", Font.BOLD, 13)); lb2.setBounds(178, 140, 165, 30); getContentPane().add(lb2); //*******************JLabel********************** lbl = new JLabel("The Result is:"); lbl.setForeground(new Color(51, 51, 255)); lbl.setFont(new Font("MS Mincho", Font.BOLD, 15)); lbl.setBounds(43, 138, 150, 30); getContentPane().add(lbl); // **************button************************* jb1 = new JButton("+"); jb1.setBounds(30, 179, 100, 30); jb1.setBackground(new Color(0, 191, 255)); getContentPane().add(jb1); jb1.addActionListener(this); getContentPane().setLayout(null); setSize(400, 400); setVisible(true); }; public void actionPerformed(ActionEvent e) { int a = Integer.parseInt(jt1.getText()); int b = Integer.parseInt(jt2.getText()); double c = 0; if (e.getSource().equals(jb1)) { c = a + b; //lbl.setText(String.valueOf(c)); lb2.setText(String.valueOf(c)); } } public static void main(String args[]) { calc t = new calc(); } }.