bibliothek.util
Class JavaVersionWorkaround

java.lang.Object
  extended by bibliothek.util.JavaVersionWorkaround

public class JavaVersionWorkaround
extends java.lang.Object

Utility class providing help for bugs or specialities present in some versions of the JRE.

Author:
Benjamin Sigg

Constructor Summary
JavaVersionWorkaround()
           
 
Method Summary
static void markAsGlassPane(java.awt.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
 

Constructor Detail

JavaVersionWorkaround

public JavaVersionWorkaround()
Method Detail

markAsGlassPane

@Todo(compatibility=COMPATIBLE,
      priority=MAJOR,
      target=VERSION_1_1_0,
      description="make sure this works with JOGL")
public static void markAsGlassPane(java.awt.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