|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.util.workarounds.Java6Workaround
public class Java6Workaround
Workarounds necessary for Java 1.6.
| Constructor Summary | |
|---|---|
Java6Workaround()
|
|
| Method Summary | |
|---|---|
static boolean |
isPrintWarnings()
Tells whether all Java6Workarounds are allowed to print warnings. |
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). |
static void |
setPrintWarnings(boolean printWarnings)
Sets whether the methods of the Java6Workaround can print warnings or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Java6Workaround()
| Method Detail |
|---|
public static void setPrintWarnings(boolean printWarnings)
Java6Workaround can print warnings or not. Calling this method
affects all workarounds. The default behavior is not to print warnings.
printWarnings - whether to print warningspublic static boolean isPrintWarnings()
Java6Workarounds are allowed to print warnings.
setPrintWarnings(boolean)public void markAsGlassPane(Component component)
WorkaroundComponent which is used as glass pane (as invisible panel).
markAsGlassPane in interface Workaroundcomponent - the component that is invisiblepublic boolean makeTransparent(Window window)
Workaroundwindow transparent. See Workarounds.makeTransparent(Window) for a more
detailed description.
makeTransparent in interface Workaroundwindow - the window that should be transparent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||