public void GetFont(String fontName, boolean customFont)
	{
		//IF the font is not a custom font...
		if (customFont == false)
		{
			//Creating the standard font
			fontToUse = new Font(fontName, Font.TRUETYPE_FONT, intFontSize);
		}
		//ELSE... (the font is a custom font)
		else
		{
			//Creating the input stream
			InputStream streamFont = TextObject.class.getResourceAsStream(fontName);
			
			//Trying to set the font and font variables
			try
			{
				fontToUse = Font.createFont(Font.TRUETYPE_FONT, streamFont);
				fontToUse = fontToUse.deriveFont((float) intFontSize);
				
			}
			catch (Exception e)
			{
				//Notifying the user of an error
				System.out.println("ERROR: Custom font could not be found! Details:\n");
				e.printStackTrace();
				System.out.println("\nUsing default Times New Roman font.");
				
				//Defaulting to Times New Roman font
				fontToUse = new Font("Times New Roman", Font.TRUETYPE_FONT, intFontSize);
			}
		}
	}