@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());
					}
			}