1package com.jogamp.opengl.test.junit.jogl.tile;
5import java.lang.reflect.Method;
9 super.setOpaque(
false);
26 private static Method mSetComponentMixing;
37 if (mSetComponentMixing ==
null) {
39 final Class<?> awtUtilitiesClass =
40 Class.forName(
"com.sun.awt.AWTUtilities");
42 awtUtilitiesClass.getMethod(
43 "setComponentMixingCutoutShape",
44 Component.class, Shape.class);
45 }
catch (
final Exception ex) {
51 if (mSetComponentMixing !=
null) {
53 mSetComponentMixing.invoke(
null,
this, s );
54 }
catch (
final Exception ex) {
void setOpaque(final boolean isOpaque)
void setMixingCutoutShape(final Shape s)
Set the cut out shape on a given Component.