Help me with my code so if the tortilla chips is checked it should display its extras cost and description.
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class MyProgram extends JFrame implements ActionListener{
public JCheckBox bp,tchips,csoup,cpasta,
gbread;
public JTextField itemcost;
public JTextArea itemdesc;
public JLabel idesc,icost,extras;
public MyProgram(){
Container pane=getContentPane();
pane.setLayout(null);
pane.add(extras=new JLabel("Extras"));
extras.setBounds(34,50,70,20);
pane.add(bp=new JCheckBox("Baked Potato"));
bp.setBounds(30,80,150,20);
bp.setOpaque(false);
//baked potato description: oven baked potato halves
//item cost: $4.00
pane.add(tchips=new JCheckBox("Tortilla Chips"));
tchips.setBounds(30,110,150,20);
tchips.setOpaque(false);
//Tortilla Chips description: light & crispy corn chips
//item cost: $10.90
pane.add(csoup=new JCheckBox("Chicken Soup"));
csoup.setBounds(30,140,150,20);
csoup.setOpaque(false);
//chicken soup description: with