String description = propertyDescriptor.getDescription();
if (description != null) {
description = description.replaceAll("\n", "</p><p>");
description = "<html><p>" + description + "</p></html>";
JLabel descLabel = new JLabel(description);
descLabel.setBorder(new EmptyBorder(0, 4, 4, 0));
descLabel.setFont(WidgetUtils.FONT_SMALL);
WidgetUtils.addToGridBag(descLabel, this, 0, i + 1, 1, 1, GridBagConstraints.NORTHEAST, 0);
}
PropertyWidget<?> propertyWidget = _propertyWidgetFactory.create(propertyDescriptor);