快递运费计算,无法运行

问题遇到的现象和发生背景
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;

public class FastPass extends JFrame implements ActionListener {
    JLabel pshifadi;
    JLabel pmudidi;
    JComboBox<String> comBox = new JComboBox<String>( );
    JComboBox<String>comBox1 = new JComboBox<String>();
    JComboBox<String>comBox2 = new JComboBox<String>();
    JComboBox<String>comBox3 = new JComboBox<String>();
    JComboBox<String>comBox4 = new JComboBox<String>();
    JComboBox<String>comBox5 = new JComboBox<String>();
    JLabel pweight;
    JTextField Textweight;
    JTextArea Textpass;
    //JLabel danwei;
    JLabel pstyle;
    JLabel passall;
    JLabel ifsui;
    JRadioButton jr1;
    JRadioButton jr2;
    JRadioButton jr3;
    JRadioButton jr4;
    JRadioButton jr5;
    JRadioButton jr6;
    JButton sure;
    JButton no;
    ButtonGroup buttongroup1;
    ButtonGroup buttongroup2;



    public FastPass()
    {
        Textweight = new JTextField(30);
        comBox1=new JComboBox<String>();
        comBox2=new JComboBox<String>();
        comBox3=new JComboBox<String>();
        comBox4=new JComboBox<String>();
        comBox5=new JComboBox<String>();
        pshifadi = new JLabel("始发地: 河南");
        pmudidi = new JLabel("目的地:");
        pweight = new JLabel("商品重量");
        pstyle = new JLabel("商品类型");
        ifsui = new JLabel("是否易碎");
        passall = new JLabel("运输总价");

        jr1 = new JRadioButton("出版物");
        jr2 = new JRadioButton("药品");
        jr3 = new JRadioButton("衣物");
        jr4 = new JRadioButton("食品");
        jr5 = new JRadioButton("是");
        jr6 = new JRadioButton("否");

        sure = new JButton("确定");
        no = new JButton("取消");

        JPanel panel1 = new JPanel();
        panel1.add(pshifadi);
        panel1.add(pmudidi);

        JPanel panel2 = new JPanel();
        panel2.add(pweight);
        panel2.add(Textweight);

        JPanel panel3 = new JPanel();
        buttongroup1 = new ButtonGroup();
        buttongroup1.add(jr1);
        buttongroup1.add(jr2);
        buttongroup1.add(jr3);
        buttongroup1.add(jr4);
        panel3.add(pstyle);
        panel3.add(jr1);
        panel3.add(jr2);
        panel3.add(jr3);
        panel3.add(jr4);

        JPanel panel4 = new JPanel();
        panel4.setLayout(new FlowLayout());
        panel4.add(passall);
        panel4.add(Textpass);

        JPanel panel5 = new JPanel();
        panel5.setLayout(new FlowLayout());
        buttongroup2 = new ButtonGroup();
        buttongroup2.add(jr5);
        buttongroup2.add(jr6);
        panel5.add(ifsui);
        panel5.add(jr5);
        panel5.add(jr6);

        JPanel panel6 = new JPanel();
        sure.addActionListener(this);
        no.addActionListener(this);
        panel6.add(sure);
        panel6.add(no);

        JFrame fram=new JFrame();
        fram.setLayout(null);
        fram.add(panel1);
        comBox1.addItem("上海");
        comBox2.addItem("江苏");
        comBox3.addItem("北京");
        comBox4.addItem("吉林");
        comBox5.addItem("新疆");
        fram.add(panel2);
        fram.add(panel4);
        fram.add(panel3);
        fram.add(panel5);
        fram.setSize(650,500);
        fram.setLocation(300,300);
        fram.setVisible(true);
        fram.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }



    public FastPass(String s)
    {
        super(s);
    }
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        new FastPass();
    }



    @Override
    public void actionPerformed(ActionEvent e) {

    }
}




``` 用代码块功能插入代码,请勿粘贴截图 

###### 运行结果及报错内容 


![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/901475061076124.png "#left")



###### 我的解答思路和尝试过的方法 

###### 我想要达到的结果

![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/348641161076196.png "#left")
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/424771161076124.png "#left")


![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/761281161076142.png "#left")

求大神解答🙏