mNextBtn.setEnabled(false);
mBackBtn = new JButton("<< " + Localizer.getLocalization(Localizer.I18N_BACK));
mBackBtn.setEnabled(false);
JPanel panel = new JPanel(new FormLayout("fill:pref:grow, pref, 3dlu, pref", "pref"));
CellConstraints cc = new CellConstraints();
if (!mStep.isSingleStep()) {
FormLayout layout = new FormLayout("pref, 3dlu, pref", "pref");
layout.setColumnGroups(new int[][] { { 1, 3 } });
JPanel nextpanel = new JPanel(layout);
nextpanel.add(mBackBtn, cc.xy(1,1));
nextpanel.add(mNextBtn, cc.xy(3,1));
panel.add(nextpanel, cc.xy(2, 1));
}
ButtonBarBuilder2 builder = new ButtonBarBuilder2();
builder.addButton(mDoneBtn);
builder.addRelatedGap();
builder.addFixed(mCancelBtn);
panel.add(builder.getPanel(), cc.xy(4, 1));
for (int btn : btns) {
if (btn == WizardStep.BUTTON_DONE) {
mDoneBtn.setEnabled(true);
} else if (btn == WizardStep.BUTTON_BACK) {