public static void setFileTypeAndCreator(File file, String type, String creator) {
		if (!isMac()) return;
		try {
			Class mrjOSTypeClass = Class.forName("com.apple.mrj.MRJOSType");
			Class mrjFileUtilsClass = Class.forName("com.apple.mrj.MRJFileUtils");
			Class[] sig1 = { Class.forName("java.lang.String") };
			Constructor constructor = mrjOSTypeClass.getConstructor(sig1);
			Class[] sig2 = { Class.forName("java.io.File"), mrjOSTypeClass, mrjOSTypeClass };
			Method fn = mrjFileUtilsClass.getMethod("setFileTypeAndCreator", sig2);
			Object[] args1 = { (type + "    ").substring(0, 4) };
			Object osType = constructor.newInstance(args1);
			Object[] args2 = { (creator + "    ").substring(0, 4) };
			Object creatorType = constructor.newInstance(args2);
			Object[] args3 = { file, osType, creatorType };
			fn.invoke(null, args3);
		} catch (Exception ex) {
			/* Empty */
		}
	}