languageGroup.add(english);
c.gridy = 0;
languagePanel.add(french, c);
c.gridy = 1;
languagePanel.add(english, c);
PropertiesManager genProp = owner.getGeneralPropertiesManager();
if(genProp.getValue("language").equals("fr"))
french.setSelected(true);
else
english.setSelected(true);
languagePanel.setBorder(new TitledBorder(propertiesMgr.getValue("languageBorder")));
//Construct proxy panel.
proxyType = new JComboBox();
proxyType.addItem("No Proxy");
proxyType.addItem("HTTP");
proxyType.addItem("Socks 4");
proxyType.addItem("Socks 5");
proxyType.setSelectedIndex(Integer.parseInt(genProp.getValue("proxyType")));
proxyHost = new JTextField();
proxyHost.setText(genProp.getValue("proxyHost"));
proxyPort = new JTextField();
proxyPort.setText(genProp.getValue("proxyPort"));
proxyPanel.setLayout(new GridBagLayout());
c.gridy = 0;
proxyPanel.add(proxyType, c);
c.gridy = 1;