for (int i = 0; i < targetBlogs.length; i++)
{
categoryProperties[i] = new SyntheticCategoryProperty(i);
TargetBlog blog = targetBlogs[i];
initCategories(blog, i, new TargetBlog.Category[] { blog.getDefaultCategory() });
PropertyAdapter adapter = new PropertyAdapter(categoryProperties[i], SyntheticCategoryProperty.PROP, true);
pcCategories[i] = new CategoriesLabel(categories[i], adapter);
chTargetBlog[i] = new JCheckBox(blog.getTitle());
if (selBlogs.contains(blog))
{
chTargetBlog[i].setSelected(true);
setDraft(blog.isDraft());
}
}
updateTitle(selected);
}