public final class FormUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clearLookAndFeelBasedCaches()
Clears cached internal Forms state that is based on the Look&Feel, for example dialog
base units.
|
static boolean |
isLafAqua()
Lazily checks and answers whether the Aqua look&feel is active.
|
public static boolean isLafAqua()
true
if the current look&feel is Aquapublic static void clearLookAndFeelBasedCaches()
There's typically no need to call this method directly. It'll be invoked automatically, if
the L&F has been changed via UIManager.setLookAndFeel(javax.swing.LookAndFeel)
and cached data is
requested. It's been made public to allow cache invalidation for cases where the L&F is
changed temporarily by replacing the UIDefaults, for example in a visual editor.
Copyright © 2017. All rights reserved.