public class MLMetalLookAndFeel extends MetalLookAndFeel {
public String getDescription() {
return super.getDescription() + " (ML Version)";
}
protected void initClassDefaults(UIDefaults table) {
// First install the metal delegates.
super.initClassDefaults(table);
Object[] classes = {
"MenuUI", "ml.mllf.mlbasic.MLBasicMenuUI",
"MenuItemUI", "ml.mllf.mlbasic.MLBasicMenuItemUI",
"ToolTipUI", "ml.mllf.mlmetal.MLMetalToolTipUI",
"LabelUI", "ml.mllf.mlmetal.MLMetalLabelUI",
"ButtonUI", "ml.mllf.mlmetal.MLMetalButtonUI",
"RadioButtonUI", "ml.mllf.mlmetal.MLMetalRadioButtonUI",
"CheckBoxUI", "ml.mllf.mlmetal.MLMetalCheckBoxUI",
"FileChooserUI", "ml.mllf.mlmetal.MLMetalFileChooserUI",
"ToolBarUI", "ml.mllf.mlmetal.MLMetalToolBarUI",
};
table.putDefaults(classes);
}
}
End of Listing