public void actionPerformed(ActionEvent e) {
			JFileChooser chooser = new JFileChooser();
			chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
			chooser.setDialogTitle("Save to");
			// trial
			UIManager.put("FileChooser.FileNameLabelText", "hello");
			SwingUtilities.updateComponentTreeUI(chooser);
			JFrame frame = new JFrame();
			chooser.showDialog(frame, "Select");

			chooser.setAcceptAllFileFilterUsed(false);
			try {
				File file = chooser.getSelectedFile();
				String fullPath = file.getAbsolutePath();
				// for mac
				String OS = System.getProperty("os.name").toLowerCase();
				if (OS.indexOf("mac") >= 0) {
					System.out.println("MAC");
					System.out.println(fullPath);
					int last = fullPath.lastIndexOf("/");
					String macPath = fullPath.substring(0, last);
					System.out.println(macPath);
					translate.setPath(macPath);
				} else {
					translate.setPath(fullPath);
				}
			} catch (Exception ex) {
				System.out.println("User did not choose any directory");
			}
		}