bibliothek.util
Class JavaVersionWorkaround
java.lang.Object
bibliothek.util.JavaVersionWorkaround
public class JavaVersionWorkaround
- extends Object
Utility class providing help for bugs or specialities present in some
versions of the JRE.
- Author:
- Benjamin Sigg
Method Summary |
static void |
markAsGlassPane(Component component)
This method is necessary since 1.6.14, it marks a component as
transparent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaVersionWorkaround
public JavaVersionWorkaround()
markAsGlassPane
@Todo(compatibility=COMPATIBLE,
priority=MAJOR,
target=VERSION_1_1_0,
description="make sure this works with JOGL")
public static void markAsGlassPane(Component component)
- This method is necessary since 1.6.14, it marks a component as
transparent. If not marked then AWT components behind
component
are not visible.
- Parameters:
component
- the component to mark completely transparent