use of org.openide.WizardDescriptor in project Universal-G-Code-Sender by winder.
the class WizardStarter method createWizardDescriptor.
private static WizardDescriptor createWizardDescriptor(WizardPanelIterator panelIterator) {
WizardDescriptor wizardDescriptor = new WizardDescriptor(panelIterator);
wizardDescriptor.setTitleFormat(new MessageFormat("<html><body><h1>{0}</h1></body></html>"));
wizardDescriptor.setTitle("Setup wizard");
wizardDescriptor.setModal(true);
wizardDescriptor.putProperty(WizardDescriptor.PROP_AUTO_WIZARD_STYLE, true);
wizardDescriptor.putProperty(WizardDescriptor.PROP_CONTENT_DISPLAYED, true);
wizardDescriptor.putProperty(WizardDescriptor.PROP_CONTENT_NUMBERED, true);
return wizardDescriptor;
}
Aggregations