private static Object getGtkStyle(Object styleFactory, JComponent component, String regionName) throws Exception {
		Class<?> regionClass = Class.forName("javax.swing.plaf.synth.Region");
		Field field = regionClass.getField(regionName);
		Object region = field.get(regionClass);
		Class<?> styleFactoryClass = styleFactory.getClass();
		Method method = styleFactoryClass.getMethod("getStyle", new Class<?>[] { JComponent.class, regionClass });
		boolean accessible = method.isAccessible();
		method.setAccessible(true);
		Object style = method.invoke(styleFactory, component, region);
		method.setAccessible(accessible);
		return style;
	}