bibliothek.util.workarounds
Class Java6Workaround
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Java6Workaround
public Java6Workaround()
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