java新人,一个简单的问题,请帮忙把代码底部的注释部分补充完,有个格式就行,求各位帮忙,好人一生平安
package test;import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JPanel;public class NewTest extends JFrame implements  ActionListener{
JPanel panel1;
JComboBox<String> cb;
JButton[] bt;

public NewTest(){
init();

addcomponent();

}private void addcomponent() {
JPanel panel=new JPanel();
this.add(panel,BorderLayout.NORTH);
panel.setBackground(Color.pink);

   JButton[] bt=new JButton[3];
      for(int i=0;i<3;i++){
         bt[i]=new JButton(""+(i+1));
         panel.add(bt[i]);
         bt[i].addActionListener(this);
      }
   
   
   
   
   JPanel panel1=new JPanel();
   this.add(panel1,BorderLayout.CENTER);
   
      
   
}private void init() {
this.setSize(500,730);
this.setTitle("测试");
this.setLocation(400,0);
this.setResizable(false);

}

@Override
public void actionPerformed(ActionEvent e) {
if(e.getSource()==bt[0]){
              //给面板添加图片1
                        }  
else if(e.getSource()==bt[1]){
   //给面板添加图片2
                             }
else if(e.getSource()==bt[2]){
     //给面板添加图片3

}


}
}