@Override
		public void actionPerformed(ActionEvent e) {
			if (e.getSource() == btnSearch) 
			{
				FileNameExtensionFilter filter = new FileNameExtensionFilter("TXT","txt");
				chooser.setFileFilter(filter);
				
				int ret = chooser.showOpenDialog(null);
				if(ret != JFileChooser.APPROVE_OPTION) {
					JOptionPane.showMessageDialog(null, "You don't select a File!","Warning",JOptionPane.WARNING_MESSAGE);
					return;
				}
				
				String filePath = chooser.getSelectedFile().getPath();
				
				if(!filePath.contains(".txt"))
					filePath=filePath+".txt";
				
				txtSearch.setText(filePath);
				
				File file = new File(filePath);
				
				try {
					FileWriter fw = new FileWriter(file);
					BufferedWriter bw = new BufferedWriter(fw);//  Ʈ
					String s = txtArea.getText();

					bw.write(s);
					bw.newLine();// ٹٲ

					JOptionPane.showMessageDialog(null, "Success!","Message",JOptionPane.INFORMATION_MESSAGE);
				} catch (Exception e1) {
					e1.printStackTrace();
					JOptionPane.showMessageDialog(null, "Fail!","Message",JOptionPane.ERROR_MESSAGE);
				}
			}
		}