// the styles provided by the SkinExtension's own style
// sheet.
// Get the StyleSheetDocument from the base Skin
SkinImpl baseSkin = (SkinImpl) getBaseSkin();
StyleSheetDocument baseDocument = baseSkin.getStyleSheetDocument(context);
// Get the StyleSheetDocument for the SkinExtension - we
// just use super.getStyleSheetDocument() to get our own styles
StyleSheetDocument extensionDocument = super.getStyleSheetDocument(
context);
// Now, check to see if either of the StyleSheetDocuments have
// changed. We synchronize here to prevent multiple threads coming
// through and mucking with our StyleSheetDocument instance variables.