PanelBuilder panelBuilder = new PanelBuilder(this, formLayout);
panelBuilder.setDefaultDialogBorder();
panelBuilder.add(previewLabel, "1,1");
panelBuilder.add(downloadPreviewCheck, "1,3");
for (int i = 0; i < actions.length; i++) {
panelBuilder.add(new LinkLabel(actions[i]), "1," + (5+(i*2)));
}
}