public boolean isTranslucencySupported(Translucency translucencyKind, GraphicsDevice gd) {
		Object kind = null;
		switch(translucencyKind) {
			case PERPIXEL_TRANSLUCENT:
				kind = PERPIXEL_TRANSLUCENT;
				break;
			case TRANSLUCENT:
				kind = TRANSLUCENT;
				break;
			case PERPIXEL_TRANSPARENT:
				kind = PERPIXEL_TRANSPARENT;
				break;
		}
		
		try {
			return (Boolean) isTranslucencySupported.invoke(null, kind);
		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}
		
	}