GraphicsEnvironment ge = GraphicsEnvironment .getLocalGraphicsEnvironment( );  String[] fontNames = ge.getAvailableFontFamilyNames( );  if ( comparator != null ) { Arrays.sort( fontNames, comparator ); } return fontNames;
return getSystemFontNames( null );
	public static String[] getSystemFontNames( Comparator comparator )	{		GraphicsEnvironment ge = GraphicsEnvironment				.getLocalGraphicsEnvironment( );		String[] fontNames = ge.getAvailableFontFamilyNames( );		if ( comparator != null )		{			Arrays.sort( fontNames, comparator );		}		return fontNames;	}