public UpdateStudent(Frame owner, String title, boolean modal, StudentBiz model, int rowNum) {
		super(owner, title, modal);
		// TODO Auto-generated constructor stub
		
		this.setSize(300, 400);
		//һΪGridLayoutӸǩ
		panel1 = new Panel();			//1
		panel1.setLayout(new GridLayout(6,1));
		label1 = new Label("ѧ");
		label2 = new Label("");
		label3 = new Label("Ա");
		label4 = new Label("");
		label5 = new Label("");
		label6 = new Label("ַ");
		//6ǩ1
		panel1.add(label1);
		panel1.add(label2);
		panel1.add(label3);
		panel1.add(label4);
		panel1.add(label5);
		panel1.add(label6);
		//1ڴڵ
		this.add(panel1, BorderLayout.WEST);
		
		//ڶı
		panel2 = new Panel();		//2
		panel2.setLayout(new GridLayout(6,1));
		/*ҵлȡ*/
		//ҵеgetValueAt()ȡָеĵһеֵѧ
		tField1 = new TextField((String)model.getValueAt(rowNum, 0));
		//ѧŵıڲɱ༭״̬
		tField1.setEditable(false);
		tField2 = new TextField((String)model.getValueAt(rowNum, 1));
		tField3 = new TextField((String)model.getValueAt(rowNum, 2));
		tField4 = new TextField(model.getValueAt(rowNum, 3).toString());
		tField5 = new TextField((String)model.getValueAt(rowNum, 4));
		tField6 = new TextField((String)model.getValueAt(rowNum, 5));
		//6ı2
		panel2.add(tField1);
		panel2.add(tField2);
		panel2.add(tField3);
		panel2.add(tField4);
		panel2.add(tField5);
		panel2.add(tField6);
		//2ڴڵм
		this.add(panel2, BorderLayout.CENTER);
		
		//壬ť
		panel3 = new Panel();
		button1 = new Button("ȷ޸");
		button2 = new Button("ȡ");
		button1.addActionListener(this);
		button2.addActionListener(this);
		panel3.add(button1);
		panel3.add(button2);
		//3ڴڵĵײ
		this.add(panel3, BorderLayout.SOUTH);
		
		//ѧϢӶԻ
		Toolkit toolkit = Toolkit.getDefaultToolkit();
		Dimension screenSize = toolkit.getScreenSize();
		//öԻĵλãĻʾ
		this.setLocation((screenSize.width - this.getWidth()) / 2,
				(screenSize.height - this.getHeight()) / 2);
		
		//Ӽ
		this.addWindowListener(new WindowListener() {
			
			@Override
			public void windowOpened(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void windowIconified(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void windowDeiconified(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void windowDeactivated(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void windowClosing(WindowEvent frame) {
				// TODO Auto-generated method stub
				frame.getWindow().setVisible(false);	//Ϊ
				((Frame)frame.getComponent()).dispose();//ͷԴ
				System.exit(0);							//˳
			}
			
			@Override
			public void windowClosed(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void windowActivated(WindowEvent arg0) {
				// TODO Auto-generated method stub
				
			}
		});
		
		this.setVisible(true);
	}