/**
* Adds look and feel constants for Help components into UIDefaults table.
*/
static void installLookAndFeelDefaults() {
LookAndFeel lnf = UIManager.getLookAndFeel();
UIDefaults table = UIManager.getLookAndFeelDefaults();
debug("installLookAndFeelDefaults - " + lnf);
if ((lnf != null) && (table != null)) {
if (lnf.getID().equals("Motif")) {
installMotifDefaults(table);
} else if (lnf.getID().equals("Windows")) {
installWindowsDefaults(table);
} else if (lnf.getID().equals("GTK")) {
installGTKDefaults(table);
} else {
// Default
installMetalDefaults(table);
}
}
debug ("verifing UIDefaults; HelpUI=" + table.getString("HelpUI"));
}