private void populateCombos() {
		String imgQuality = device.getProperty(Device.IMAGE_QUALITY);
		String pollRate = device.getProperty(Device.POLLING_RATE);
		int qualityPosition = 0;
		int pollPosition = 0;

		if (imgQuality == null) {
			imgQuality = Integer
					.toString(IConnectionConstants.DEFAULT_IMAGE_QUALITY);
		}

		if (pollRate == null) {
			pollRate = Long.toString(IConnectionConstants.DEFAULT_FRAME_DELAY);
		}

		int i = 0;
		for (String rate : IConnectionConstants.pollingRates.keySet()) {
			reverseRateMap.put(IConnectionConstants.pollingRates.get(rate),
					rate);
			pollingRateCombo.addItem(IConnectionConstants.pollingRates
					.get(rate));
			if (rate.equals(pollRate)) {
				pollPosition = i;
			}
			i++;

		}

		i = 0;
		for (String quality : IConnectionConstants.qualities.keySet()) {
			reverseQualityMap.put(IConnectionConstants.qualities.get(quality),
					quality);
			imageQualityCombo.addItem(IConnectionConstants.qualities
					.get(quality));
			if (quality.equals(imgQuality)) {
				qualityPosition = i;
			}
			i++;
		}

		pollingRateCombo.setSelectedIndex(pollPosition);
		imageQualityCombo.setSelectedIndex(qualityPosition);
	}