*
* @return pane.
*/
protected JComponent buildMain()
{
BBFormBuilder builder = new BBFormBuilder("p, 4dlu, max(50dlu;p), 4dlu, max(100dlu;p):grow, 4dlu, p");
builder.setDefaultDialogBorder();
builder.append(Strings.message("guide.dialog.readinglists.add.address"), 1, tfAddress, 3);
builder.append(new JButton(new SuggestAction()));
builder.setLeadingColumnOffset(2);
builder.append(Strings.message("guide.dialog.readinglists.add.status"), lbStatus);
builder.appendUnrelatedComponentsGapRow(2);
builder.setLeadingColumnOffset(0);
builder.append(rbExistingGuide, 3);
builder.append(cbGuides);
builder.nextLine();
builder.setLeadingColumnOffset(0);
builder.append(rbNewGuide, 3);
builder.append(tfGuideTitle);
builder.nextLine();
updateRadioStatus();
return builder.getPanel();
}