protected JPanel setGeneralTab() {
		JPanel generalPanel = new JPanel();
		generalPanel.setLayout(new BoxLayout(generalPanel,BoxLayout.Y_AXIS));
		// Language
		JPanel panel = new JPanel();
		JLabel label = new JLabel(Messages.getString("T_LANGUAGE")); //$NON-NLS-1$
		panel.add(label);
		localeCombo = new JComboBox(Messages.getSupportedLocalesNames());
		localeCombo.setSelectedIndex(Messages.getLocaleIndex());
		panel.add(localeCombo);
		generalPanel.add(panel);
		//Frames per second
		panel = new JPanel();
		label = new JLabel(Messages.getString("T_TIME_PER_FRAME")); //$NON-NLS-1$
		panel.add(label);
		delayText = new JTextField(Integer.toString(Utils.DELAY),6);
		panel.add(delayText);
		label = new JLabel(Messages.getString("T_MILLISECONDS")); //$NON-NLS-1$
		panel.add(label);
		generalPanel.add(panel);
		// OpenGL
		panel = new JPanel();
		panel.setLayout(new GridLayout(5,1));
		panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED),
				Messages.getString("T_HARDWARE_ACCELERATION"))); //$NON-NLS-1$
		hardwareNoneRadio = new JRadioButton(Messages.getString("T_NONE")); //$NON-NLS-1$
		hardwareOpenGLRadio = new JRadioButton(Messages.getString("T_OPENGL")); //$NON-NLS-1$
		hardwareFBObjectCheck = new JCheckBox(Messages.getString("T_DISABLE_FBOBJECT")); //$NON-NLS-1$
		switch (Utils.HARDWARE_ACCELERATION) {
		case 0:
			hardwareNoneRadio.setSelected(true);
			hardwareFBObjectCheck.setEnabled(false);
			break;
		case 1:
		case 2:
		case 3:
			hardwareOpenGLRadio.setSelected(true);
			break;
		case 4:
		case 5:
		case 6:
			hardwareOpenGLRadio.setSelected(true);
			hardwareFBObjectCheck.setSelected(true);
			break;
		}
		hardwareGroup = new ButtonGroup();
		hardwareGroup.add(hardwareNoneRadio);
		hardwareGroup.add(hardwareOpenGLRadio);
		hardwareNoneRadio.addChangeListener(new ChangeListener() {
			
			@Override
			public void stateChanged(ChangeEvent e) {
				hardwareFBObjectCheck.setEnabled(!hardwareNoneRadio.isSelected());
			}
		});
		panel.add(hardwareNoneRadio);
		panel.add(hardwareOpenGLRadio);
		panel.add(hardwareFBObjectCheck);
		panel.add(new JLabel(Messages.getString("T_DIRECTX_IS_AUTOMATICALLY_DETECTED_AND_INITIALIZED"))); //$NON-NLS-1$
		panel.add(new JLabel(Messages.getString("T_APPLICATION_MUST_BE_RESTARTED_TO_APPLY_CHANGES"))); //$NON-NLS-1$
		generalPanel.add(panel);
		return generalPanel;
	}