NetBeans combo box basic application

   ==现在做的不够全面,不过后续会不断完善,加油!!!==
 * 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 total;

import javax.swing.JOptionPane;

/**
 *
 * @author Administrator
 */
public class Total_6_19 extends javax.swing.JFrame {

    /**
     * Creates new form Total_6_19
     */
    public Total_6_19() {
        initComponents();
       
        buttonGroup1.add(Goods1);
        buttonGroup1.add(Goods2);
        buttonGroup1.add(Goods3);
        buttonGroup1.add(Goods4);
        Classify1.addItem("家电");
        Classify1.addItem("五金金属"); 
        Classify1.addItem("珠宝手表");
              
    }

    /**
     * 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();
        jDialog1 = new javax.swing.JDialog();
        jLabel1 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        Goods1 = new javax.swing.JRadioButton();
        Goods2 = new javax.swing.JRadioButton();
        Goods3 = new javax.swing.JRadioButton();
        Goods4 = new javax.swing.JRadioButton();
        Classify1 = new javax.swing.JComboBox();
        Classify2 = new javax.swing.JComboBox();
        canvas1 = new java.awt.Canvas();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        jLabel5 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();

        javax.swing.GroupLayout jDialog1Layout = new javax.swing.GroupLayout(jDialog1.getContentPane());
        jDialog1.getContentPane().setLayout(jDialog1Layout);
        jDialog1Layout.setHorizontalGroup(
            jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        jDialog1Layout.setVerticalGroup(
            jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 300, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLabel1.setFont(new java.awt.Font("楷体", 2, 24)); // NOI18N
        jLabel1.setText("大型购物中心");

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(java.awt.Color.pink, java.awt.Color.orange), "商场商品大区确定", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("楷体", 2, 24))); // NOI18N

        Goods1.setText("jRadioButton1");

        Goods2.setText("jRadioButton2");

        Goods3.setText("jRadioButton3");

        Goods4.setText("jRadioButton4");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(Goods1)
                    .addComponent(Goods3))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 78, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(Goods2, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(Goods4, javax.swing.GroupLayout.Alignment.TRAILING))
                .addGap(59, 59, 59))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Goods1)
                    .addComponent(Goods2))
                .addGap(52, 52, 52)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Goods3)
                    .addComponent(Goods4))
                .addContainerGap(108, Short.MAX_VALUE))
        );

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

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

        jLabel2.setFont(new java.awt.Font("楷体", 2, 18)); // NOI18N
        jLabel2.setText("本购物中心因空间过大,种类繁多,特为初次来到本商城的消费者配置一名导购:");

        jLabel3.setFont(new java.awt.Font("楷体", 2, 18)); // NOI18N
        jLabel3.setText("您好导购员小悠为您服务:");

        jTextArea1.setColumns(20);
        jTextArea1.setFont(new java.awt.Font("仿宋", 2, 18)); // NOI18N
        jTextArea1.setRows(5);
        jTextArea1.setText("本商场因为空间宏大,\n种类繁多所以请先行选择需求类型\n请在下面选择分类:");
        jScrollPane1.setViewportView(jTextArea1);

        jLabel5.setText("请在此处选择下层分座:");

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

        jButton2.setText("确定分座/分区");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        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()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(88, 88, 88)
                                .addComponent(jButton1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jButton2))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGap(58, 58, 58)
                                .addComponent(Classify1, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(29, 29, 29)
                                        .addComponent(jLabel4)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 198, Short.MAX_VALUE)
                                        .addComponent(Classify2, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE))))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGap(0, 0, Short.MAX_VALUE)
                                .addComponent(jLabel5)))
                        .addGap(37, 37, 37)
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(45, 45, 45)
                                .addComponent(jLabel3))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(35, 35, 35)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jLabel2))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addGap(305, 305, 305)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 281, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 478, Short.MAX_VALUE)
                    .addComponent(canvas1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 477, Short.MAX_VALUE)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(41, 41, 41)
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(20, 20, 20)
                .addComponent(jLabel3)
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel5))
                        .addGap(1, 1, 1)
                        .addComponent(jLabel4)
                        .addGap(18, 18, 18)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(Classify1, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 51, Short.MAX_VALUE)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jButton1)
                                    .addComponent(jButton2)))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(Classify2, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(0, 0, Short.MAX_VALUE)))))
                .addContainerGap(17, Short.MAX_VALUE))
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(0, 0, Short.MAX_VALUE)
                    .addComponent(canvas1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, Short.MAX_VALUE)))
        );

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

    private void Classify1ActionPerformed(java.awt.event.ActionEvent evt) {                                          
        // TODO add your handling code here:
  
    }                                         

    private void Classify2ActionPerformed(java.awt.event.ActionEvent evt) {                                          
        // TODO add your handling code here:
        
    }                                         

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
           
      if(Classify1.getSelectedItem().equals("五金金属")){
         Classify2.addItem("机械五金");
         Classify2.addItem("建筑五金");              
         Classify2.addItem("通用配件");
         Classify2.addItem("五金机械设备");
         
               
      }
      else if(Classify1.getSelectedItem().equals("家电")){
         Classify2.addItem("音响产品");
         Classify2.addItem("视频产品");              
         Classify2.addItem("计算产品");
         Classify2.addItem("娱乐产品");
    
      
      }  else if(Classify1.getSelectedItem().equals("珠宝手表")){
         Classify2.addItem("手饰");
         Classify2.addItem("胸饰");              
         Classify2.addItem("头饰");
         Classify2.addItem("颈饰");
    
      
      }
      
    }                                        

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
         if(Classify2.getSelectedItem().equals("机械五金")){
                   
        Goods1.setText("紧固件");

        Goods2.setText("滚动轴承");

        Goods3.setText("带和链");

        Goods4.setText("润滑件");

      
    if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座3区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座2区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座1区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座4区进行挑选");
    
          }
          else if(Classify2.getSelectedItem().equals("建筑五金")){
                   
        Goods1.setText("气动");

        Goods2.setText("涂料");

        Goods3.setText("防盗门");

        Goods4.setText("防盗窗");

       
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座8区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座7区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座6区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座5区进行挑选");
  

               }
                 else if(Classify2.getSelectedItem().equals("通用配件")){
                   
        Goods1.setText("紧固件");

        Goods2.setText("滚动轴承");

        Goods3.setText("带和链");

        Goods4.setText("润滑件");

if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座9区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座10区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座11区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座12区进行挑选");
 
               }  else if(Classify2.getSelectedItem().equals("五金材料")){
                   
        Goods1.setText("紧固件");

        Goods2.setText("滚动轴承");

        Goods3.setText("带和链");

        Goods4.setText("润滑件");

        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座13区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座14区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座15区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往B座16区进行挑选");
  

               }
          else if(Classify2.getSelectedItem().equals("音响产品")){
                   
        Goods1.setText("录音机");

        Goods2.setText("音响");

        Goods3.setText("收音机");

        Goods4.setText("点唱机");

      if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座3区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座2区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座1区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座4区进行挑选");
  

          }
       else if(Classify2.getSelectedItem().equals("视频产品")){
                   
        Goods1.setText("电视机");

        Goods2.setText("录像机");

        Goods3.setText("立体投影仪");

        Goods4.setText("相机");
        
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座5区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座6区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座7区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座8区进行挑选");
 
               }
                 else if(Classify2.getSelectedItem().equals("计算产品")){
                   
        Goods1.setText("计算机");

        Goods2.setText("计算器");

        Goods3.setText("电脑学习机");

        Goods4.setText("电子秤");

    if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座9区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座12区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座10区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座11区进行挑选");
   

               }  else if(Classify2.getSelectedItem().equals("娱乐产品")){
                   
        Goods1.setText("电子玩具");

        Goods2.setText("电子乐器");

        Goods3.setText("电子游戏机");

        Goods4.setText("游戏本");
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座13区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座14区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座15区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往C座16区进行挑选");
  
               }
            else if(Classify2.getSelectedItem().equals("手饰")){
                   
        Goods1.setText("戒指");

        Goods2.setText("手镯");

        Goods3.setText("手表");

        Goods4.setText("手链");
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座3区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座2区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座1区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座4区进行挑选");
  
          }
       else if(Classify2.getSelectedItem().equals("胸饰")){
                   
        Goods1.setText("电视机");

        Goods2.setText("录像机");

        Goods3.setText("立体投影仪");

        Goods4.setText("相机");
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座5区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座6区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座7区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座8区进行挑选");
  
               }
                 else if(Classify2.getSelectedItem().equals("头饰")){
                   
        Goods1.setText("发冠");

        Goods2.setText("耳钉");

        Goods3.setText("耳坠");

        Goods4.setText("鼻环");
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座8区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座12区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座10区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座11区进行挑选");
 
               }  else if(Classify2.getSelectedItem().equals("颈饰")){
                   
        Goods1.setText("项链");

        Goods2.setText("项圈");

        Goods3.setText("钻石领带");

        Goods4.setText("领花");
        if(Goods1.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座13区进行挑选");
    else if(Goods2.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座14区进行挑选");
    else if(Goods3.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座15区进行挑选");
    else if(Goods4.isSelected())   JOptionPane.showMessageDialog(rootPane, "请前往A座16区进行挑选");
 
               }
   
    }                                        

    /**
     * @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(Total_6_19.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Total_6_19.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Total_6_19.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Total_6_19.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Total_6_19().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify                     
    private javax.swing.JComboBox Classify1;
    private javax.swing.JComboBox Classify2;
    private javax.swing.JRadioButton Goods1;
    private javax.swing.JRadioButton Goods2;
    private javax.swing.JRadioButton Goods3;
    private javax.swing.JRadioButton Goods4;
    private javax.swing.ButtonGroup buttonGroup1;
    private java.awt.Canvas canvas1;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JDialog jDialog1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    // End of variables declaration                   
}```

Guess you like

Origin blog.csdn.net/qq_45783127/article/details/106869135