public class Java6Workaround extends Object implements Workaround
| Constructor and Description |
|---|
Java6Workaround() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPrintWarnings()
Tells whether all
Java6Workarounds are allowed to print warnings. |
void |
markAsGlassPane(Component component) |
static void |
setPrintWarnings(boolean printWarnings)
Sets whether the methods of the
Java6Workaround can print warnings or not. |
boolean |
setTranslucent(Window window) |
boolean |
setTransparent(Window window,
Shape shape) |
void |
setup(DockController controller) |
boolean |
supportsPerpixelTranslucency(Window window) |
boolean |
supportsPerpixelTransparency(Window window) |
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 setup(DockController controller)
setup in interface Workaroundpublic void markAsGlassPane(Component component)
markAsGlassPane in interface Workaroundpublic boolean supportsPerpixelTranslucency(Window window)
supportsPerpixelTranslucency in interface Workaroundpublic boolean supportsPerpixelTransparency(Window window)
supportsPerpixelTransparency in interface Workaroundpublic boolean setTranslucent(Window window)
setTranslucent in interface Workaroundpublic boolean setTransparent(Window window, Shape shape)
setTransparent in interface WorkaroundCopyright © 2019. All rights reserved.