public FindDialog(JFrame frame) {
		super(frame);
		String recipeDir = "";
		opt = Options.getInstance();
		if(opt.getProperty("optRecipe") != null)
			recipeDir = opt.getProperty("optRecipe");
		
		if(recipeDir.equalsIgnoreCase("") ) {
			try {
				recipeDir = SBStringUtils.getAppPath("recipes");
			} catch (UnsupportedEncodingException e) {
				// 
				JOptionPane.showMessageDialog(frame, "Couldn't get the App Path for the find recipe dialog.");
			}
		}
		
		try {
			currentDir = new File(recipeDir);
			initGUI();
			dirLocationText.setText(currentDir.getAbsolutePath());
			loadRecipes(currentDir);
		} catch (Exception e) {
			StringWriter sStream = new StringWriter();
			e.printStackTrace(new PrintWriter(sStream));
			JOptionPane.showMessageDialog(frame, "Please set your recipe directory in preferences");
		}
		
	}