bibliothek.util.workarounds
Class Java6Workaround

java.lang.Object
  extended by bibliothek.util.workarounds.Java6Workaround
All Implemented Interfaces:
Workaround
Direct Known Subclasses:
Java7Workaround

public class Java6Workaround
extends Object
implements Workaround

Workarounds necessary for Java 1.6.

Author:
Benjamin Sigg

Constructor Summary
Java6Workaround()
           
 
Method Summary
 boolean makeTransparent(Window window)
          Makes the window window transparent.
 void markAsGlassPane(Component component)
          Called for any Component which is used as glass pane (as invisible panel).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java6Workaround

public Java6Workaround()
Method Detail

markAsGlassPane

public void markAsGlassPane(Component component)
Description copied from interface: Workaround
Called for any Component which is used as glass pane (as invisible panel).

Specified by:
markAsGlassPane in interface Workaround
Parameters:
component - the component that is invisible

makeTransparent

public boolean makeTransparent(Window window)
Description copied from interface: Workaround
Makes the window window transparent. See Workarounds.makeTransparent(Window) for a more detailed description.

Specified by:
makeTransparent in interface Workaround
Parameters:
window - the window that should be transparent
Returns:
whether the window is now transparent or not