public class SwingUtils extends java.lang.Object
Constructor and Description |
---|
SwingUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
childHasFocus(java.awt.Component parent) |
static boolean |
isChildComponent(java.awt.Component parent,
java.awt.Component child) |
static void |
setNativeLF()
Sets the native look and feel of the current operating system by invoking
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()) . |
public SwingUtils()
public static boolean childHasFocus(java.awt.Component parent)
public static boolean isChildComponent(java.awt.Component parent, java.awt.Component child)
public static void setNativeLF()
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName())
.
Possible exceptions are ignored.