private void setOptions() {
		
		// new recipe tab:		
		batchSizeTxt.setText(opts.getProperty("optPostBoilVol"));
		maltUnitsComboModel.addOrInsert(opts.getProperty("optMaltU"));
		hopsUnitsComboModel.addOrInsert(opts.getProperty("optHopsU"));
		volUnitsComboModel.addOrInsert(opts.getProperty("optSizeU"));
		boilTimeTxt.setText(opts.getProperty("optBoilTime"));
		hopsTypeComboModel.addOrInsert(opts.getProperty("optHopsType"));
		List<WaterProfile> db = Database.getInstance().waterDB;
		for (int i = 0; i < db.size(); i++) {
			comboWaterProfile.addItem(db.get(i).getName());
		}		
		comboWaterProfile.setSelectedItem(opts.getProperty("optWaterProfile"));
		
		// Not sure why we need to convert every time we save, but keeping it like this for now
		if(opts.getProperty("optMashTempU").equalsIgnoreCase("C")){
			boilTempTxt.setText(Double.toString(BrewCalcs.fToC(opts.getDProperty("optBoilTempF"))));
		} else {		
			boilTempTxt.setText(opts.getProperty("optBoilTempF"));
		}
		
		mashVolComboModel.addOrInsert(opts.getProperty("optMashVolU"));
		frb.setSelected(opts.getProperty("optMashTempU").equalsIgnoreCase("F"));
		crb.setSelected(opts.getProperty("optMashTempU").equalsIgnoreCase("C"));
		mashRatioUCombo.setSelectedItem(opts.getProperty("optMashRatioU"));
		mashRatioTxt.setText(opts.getProperty("optMashRatio"));
		
		// cost/carb tab:
		txtOtherCost.setText(opts.getProperty("optMiscCost"));
		txtBottleSize.setText(opts.getProperty("optBottleSize"));
		cmbBottleSizeModel.addOrInsert(opts.getProperty("optBottleU"));
		comboPrimeSugar.setSelectedItem(opts.getProperty("optPrimingSugar"));
		comboSugarU.setSelectedItem(opts.getProperty("optSugarU"));
		comboCarbTempU.setSelectedItem(opts.getProperty("optCarbTempU"));
		txtBottleTemp.setText(opts.getProperty("optBottleTemp"));
		txtServTemp.setText(opts.getProperty("optServTemp"));
		txtVol.setText(opts.getProperty("optVolsCO2"));
		checkKegged.setSelected(opts.getBProperty("optKegged"));
		
		
		comboTubingID.setSelectedItem(opts.getProperty("optTubingID"));
		textHeight.setText(opts.getProperty("optHeightAboveKeg"));
		
		// brewer tab:
		txtBrewerName.setText(opts.getProperty("optBrewer"));
		txtPhone.setText(opts.getProperty("optPhone"));
		txtClubName.setText(opts.getProperty("optClub"));
		txtEmail.setText(opts.getProperty("optEmail"));
		String recipeDir = opts.getProperty("optRecipe");
		if((recipeDir == null) || recipeDir.equalsIgnoreCase("") ) {
			try {
				recipeDir = SBStringUtils.getAppPath("recipes");
			} catch (UnsupportedEncodingException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
		txtRecipe.setText(recipeDir);
		localeComboBox.setSelectedItem(opts.getLocale());	
		
		checkStock.setSelected(opts.getBProperty("optHideNonStock"));
		useWebServer.setSelected(opts.getBProperty("optWebServer"));
		txtElsinoreServer.setText(opts.getProperty("elsinoreServer"));
		txtWebPort.setText(opts.getProperty("optWebServerPort"));

		// calculations tab:
		rbTinseth.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase(BrewCalcs.TINSETH));
		rbRager.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase(BrewCalcs.RAGER));
		rbGaretz.setSelected(opts.getProperty("optIBUCalcMethod").equalsIgnoreCase(BrewCalcs.GARTEZ));

		rbABV.setSelected((opts.getProperty("optAlcCalcMethod").equalsIgnoreCase("Volume")));
		rbABW.setSelected((opts.getProperty("optAlcCalcMethod").equalsIgnoreCase("Weight")));

		rbSRM.setSelected((opts.getProperty("optColourMethod").equalsIgnoreCase(BrewCalcs.SRM)));
		rbEBC.setSelected((opts.getProperty("optColourMethod").equalsIgnoreCase(BrewCalcs.EBC)));

		rbPercent.setSelected((opts.getProperty("optEvapCalcMethod").equalsIgnoreCase("Percent")));
		rbConstant.setSelected((opts.getProperty("optEvapCalcMethod").equalsIgnoreCase("Constant")));
		evapAmountTxt.setText(opts.getProperty("optEvaporation"));
		setEvapLable();
		
		txtPellet.setText(opts.getProperty("optPelletHopsPct"));
		txtTinsethUtil.setText(opts.getProperty("optHopsUtil"));
		txtDryHopTime.setText(opts.getProperty("optDryHopTime"));
		txtFWHTime.setText(opts.getProperty("optFWHTime"));
		txtMashHopTime.setText(opts.getProperty("optMashHopTime"));
		txtLeftInKettle.setText(opts.getProperty("optKettleLoss"));
		txtMiscLosses.setText(opts.getProperty("optMiscLoss"));
		txtLostInTrub.setText(opts.getProperty("optTrubLoss"));		
		
		// appearances tab:
		redSpn.setValue(new Integer(opts.getIProperty("optRed")));
		greenSpn.setValue(new Integer(opts.getIProperty("optGreen")));
		blueSpn.setValue(new Integer(opts.getIProperty("optBlue")));
		alphaSpn.setValue(new Integer(opts.getIProperty("optAlpha")));
		colMethod1rb.setSelected(opts.getProperty("optRGBMethod").equals("1"));
		colMethod2rb.setSelected(opts.getProperty("optRGBMethod").equals("2"));
		displayColour();
		
		// style DB tab:		
		comboStyleYear.setSelectedItem(opts.getProperty("optStyleYear"));
		
	}