bibliothek.util.workarounds
Interface Workaround

All Known Implementing Classes:
Java6Workaround, Java7Workaround

public interface Workaround

A Workaround provides code to workaround an issue that is only present in some versions of the JRE or in some libraries.

Author:
Benjamin Sigg

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).
 

Method Detail

markAsGlassPane

void markAsGlassPane(Component component)
Called for any Component which is used as glass pane (as invisible panel).

Parameters:
component - the component that is invisible

makeTransparent

boolean makeTransparent(Window window)
Makes the window window transparent. See Workarounds.makeTransparent(Window) for a more detailed description.

Parameters:
window - the window that should be transparent
Returns:
whether the window is now transparent or not