public RemoteRecipes(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.");
			}
		}
		currentDir = new File(recipeDir);
		
		initGUI();
		dirLocationText.setText(currentDir.getAbsolutePath());
		this.pack();
        setLocation((Toolkit.getDefaultToolkit().getScreenSize().width)/2 - getWidth()/2,
                (Toolkit.getDefaultToolkit().getScreenSize().height)/2 - getHeight()/2);		
		
	}