public void change(){
	
		bu1.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				
				System.out.println("ѡ");
				JFileChooser chooser = new JFileChooser();
				if(jb1.isSelected()){
				FileNameExtensionFilter filter = new FileNameExtensionFilter("xml", "xml");
				chooser.setFileFilter(filter);
				}
				else
				{FileNameExtensionFilter filter = new FileNameExtensionFilter("xls", "xls");
				chooser.setFileFilter(filter);}
				
				int returnVal = chooser.showOpenDialog(new JPanel());
					if(returnVal == JFileChooser.APPROVE_OPTION){
						System.out.println("򿪵ļǣ"+chooser.getSelectedFile().getAbsolutePath());
						filename.setText(chooser.getSelectedFile().getAbsolutePath());
					}
			}
		});
		
		
		
		// ť¼
		bu2.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				
				if(jb1.isSelected()){
				String path = filename.getText();
				try {
					new CreatExcel().creat(new ReadXml().Read(path), path);
					System.out.println("succeed");
					
					jl3.setVisible(true);
					JOptionPane.showMessageDialog(null, "ϲתɹ");
					
				} catch (RowsExceededException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				} catch (WriteException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				} catch (DocumentException e1) {
					// TODO Auto-generated catch block
					e1.printStackTrace();
				}
				
				
			}
				else{
					String path = filename.getText();
					
					new CreatXml().create(path);
					System.out.println("succeed");
					
					jl3.setVisible(true);
					JOptionPane.showMessageDialog(null, "ϲתɹ");
				}	
			}
		});
		}