java代码改错
import java.awt.*;import javax.swing.*;
public class Test07 extends JFrame{
private JLabel bq1,bq2,bq3,bq4;
private JButton an1,an2,an3;
private JTextField wbk;
private JPasswordField mmk;
private JPanel mb1,mb2,mb3,mb21,mb22;
private JCheckBox fxk1,fxk2;
private JComboBox xlk;
public Test07(){
bq1=new JLabel(new ImageIcon("image\20111014154506-125660120_美图.jpg"));
bq2=new JLabel(new ImageIcon("image\05544335.png"));
bq3=new JLabel("<html><a href='http://zc.'>注册账号</a>");
bq3.setFont(new Font("宋体",Font.PLAIN,14));
bq3.setForeground(Color.blue);
bq3.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
bq4=new JLabel("<html><a href='https://aq.'>找回密码</a>");
bq4.setFont(new Font("宋体",Font.PLAIN,14));
bq4.setForeground(Color.blue);
bq4.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
wbk=new JTextField(15);
mmk=new JPasswordField(15);
fxk1=new JCheckBox("记住密码");
fxk2=new JCheckBox("自动登陆");
ImageIcon img = new ImageIcon("image\20111014154506-125660120.jpg");
an1=new JButton(img);
an2=new JButton("设置");
an3=new JButton("登陆");
String[] jg={"在线","隐身","离开","忙碌"};
xlk=new JComboBox(jg);
mb1.add(bq1);
mb2.setLayout(new FlowLayout());
mb2.add(mb21);mb2.add(mb22);
mb21.add(bq2);
mb22.setLayout(new GridLayout(3,1));
mb22.add(wbk);mb22.add(bq3);
mb22.add(mmk);mb22.add(bq4);
mb22.add(xlk);mb22.add(fxk1);mb22.add(fxk2);
mb3.add(an1);mb3.add(an2);mb3.add(an3);
this.add(mb1,BorderLayout.NORTH);
this.add(mb2);
this.add(mb3,BorderLayout.SOUTH);
this.setTitle("QQ2011");
this.setSize(500,500);
this.setVisible(true);
this.setResizable(false);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
public static void main(String[] args){
new Test07();
}
}
用java做了一个qq登陆界面,但是运行有错误,不知道问题出哪了,小弟初学java很多东西都不是很扎实,望大神指教,大恩不言谢