@Override
    public void setFrameRatePerSecond(double value)
    {
		if (value == 15)
			FPSComboBox.setSelectedIndex(0);
		if (value == 20)
			FPSComboBox.setSelectedIndex(1);
		if (value == 23.976)
			FPSComboBox.setSelectedIndex(2);
		if (value == 23.978)
			FPSComboBox.setSelectedIndex(3);
		if (value == 24)
			FPSComboBox.setSelectedIndex(4);
		if (value == 25)
			FPSComboBox.setSelectedIndex(5);
		if (value == 29.97)
			FPSComboBox.setSelectedIndex(6);
		if (value == 30)
			FPSComboBox.setSelectedIndex(7);
    }