public void CreateDefaults()
	{
		
		try 
		{
			PrintStream fout = new PrintStream(new File("defaults.txt"));
			
			
			String DefaultNameInput = nameTextFieldDefault.getText();
			fout.println(DefaultNameInput);
			
			String DefaultRankInput = (String) rankComboBoxDefault.getSelectedItem();
			fout.println(DefaultRankInput);
			
			int DefaultExperienceInput = xpSliderDefault.getValue();
			fout.println(DefaultExperienceInput);
			
			if (medalsOnRadioButton.isSelected() == true)
			{
			    fout.println(true);
			    boolean DefaultKEY = keyCheckBoxDefault.isSelected();
				fout.println(DefaultKEY);
				boolean DefaultMOH = mohCheckBoxDefault.isSelected();
				fout.println(DefaultMOH);
				boolean DefaultPCC = pccCheckBoxDefault.isSelected();
				fout.println(DefaultPCC);
				boolean DefaultCOB = cobCheckBoxDefault.isSelected();
				fout.println(DefaultCOB);
				boolean DefaultLSA = lsaCheckBoxDefault.isSelected();
				fout.println(DefaultLSA);
				int DefaultREM = remComboBoxDefault.getSelectedIndex();
				if (DefaultREM > 0)
					fout.println(true);
				else 
					fout.println(false);
				
				if (remComboBoxDefault.getSelectedIndex()==1)
					fout.println("I");
				else if (remComboBoxDefault.getSelectedIndex()==2)	
					fout.println("II");
				else if (remComboBoxDefault.getSelectedIndex()==3)
					fout.println("III");
			}	
			if (medalsOffRadioButton.isSelected() == true)
			{
				fout.println(false);
				fout.println(false);
				fout.println(false);
				fout.println(false);
				fout.println(false);
				fout.println(false);
				fout.println(false);
				fout.println("OFF");
			}
			fout.println((String) rankcapComboBoxDefault.getSelectedItem());
			fout.println((int)windowFrame.getX());
			fout.println((int)windowFrame.getY());
			fout.close();	
		} catch (FileNotFoundException e) {
			
		}
		
	}