}
final String minSizeText = result1.getProperty("minimumSize");
if (minSizeText != null)
{
final Dimension2D size = (Dimension2D) new DoubleDimensionConverter().convertFromString(minSizeText, getLocator());
getStyle().setStyleProperty(ElementStyleKeys.MIN_WIDTH, new Float(size.getWidth()));
getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, new Float(size.getHeight()));
}
final String prefSizeText = result1.getProperty("preferredSize");
if (prefSizeText != null)
{
final Dimension2D size = (Dimension2D) new DoubleDimensionConverter().convertFromString(prefSizeText, getLocator());
getStyle().setStyleProperty(ElementStyleKeys.WIDTH, new Float(size.getWidth()));
getStyle().setStyleProperty(ElementStyleKeys.HEIGHT, new Float(size.getHeight()));
}
final String maxSizeText = result1.getProperty("maximumSize");
if (maxSizeText != null)
{
final Dimension2D size = (Dimension2D) new DoubleDimensionConverter().convertFromString(maxSizeText, getLocator());
getStyle().setStyleProperty(ElementStyleKeys.MAX_WIDTH, new Float(size.getWidth()));
getStyle().setStyleProperty(ElementStyleKeys.MAX_HEIGHT, new Float(size.getHeight()));
}
final String bgColorText = result1.getProperty("background");
if (bgColorText != null)
{