import java.awt.*;
import javax.swing.*;
class Zhuce extends JFrame{
private JPanel p1,p2,p3,p4,p5,p6,p7;//创建一些中间容器
private JLabel titlelabel,namelabel,pwdlabel,pwd2label,sexlabel,agelabel,classlabel;//创建一些文本标题
private JButton registerbtn,returnbtn,cancelbtn;//创建一些按钮
private JTextField namefield,agefield;//创建一些文本框
private JPasswordField pwdfield,pwd2field;//创建一些密码框
private JComboBox classbox;//创建一个下拉列表框 用JComboBox类
private JRadioButton sexbtn1,sexbtn2;//创建一个单选按钮 用JRadioButton类
public Zhuce() {
titlelabel = new JLabel("用户注册");
titlelabel.setFont(new Font("隶书",Font.BOLD,24));//设置标题字型为隶书,风格为粗体,大小为24
namelabel = new JLabel("用 户 名 :");
pwdlabel = new JLabel("密 码:");
pwd2label = new JLabel("确认密码:");
sexlabel &#