Description: public class Register extends JFrame implements ActionListener{
private static final long serialVersionUID = 1L
String Sex = ""
JLabel lb_title,lb_user,lb_psd,lb_repsd,lb_sex,lb_class,lb_age
JTextField tf_user,tf_age
JPasswordField pf_psd,pf_repsd
JRadioButton rbtn_male,rbtn_female
JComboBox cb_class
JButton btn_register,btn_reset,btn_cancel
JPanel p0,p1,p2,p3,p4,p5,p6
public String getTitle(){
return "用户注册"
}
public Register(){
p0=new JPanel()
lb_title=new JLabel("用户注册")
lb_title.setFont(new Font("宋体",Font.BOLD,23))
p0.add(lb_title)
p1 = new JPanel()
lb_user=new JLabel("用 户 名:")
tf_user=new JTextField(16)
p1.add(lb_user)
To Search:
File list (Check if you may need any files):
java loginin.doc