Search in sources :

Example 11 with WizardDescriptor

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;
}
Also used : MessageFormat(java.text.MessageFormat) WizardDescriptor(org.openide.WizardDescriptor)

Aggregations

WizardDescriptor (org.openide.WizardDescriptor)11 Dialog (java.awt.Dialog)4 MessageFormat (java.text.MessageFormat)3 BorderLayout (java.awt.BorderLayout)1 Color (java.awt.Color)1 File (java.io.File)1 Charset (java.nio.charset.Charset)1 JComponent (javax.swing.JComponent)1 JPanel (javax.swing.JPanel)1 AttributeColumnsController (org.gephi.datalab.api.AttributeColumnsController)1 DataTablesController (org.gephi.datalab.api.datatables.DataTablesController)1 ImportControllerUI (org.gephi.desktop.importer.api.ImportControllerUI)1 Graph (org.gephi.graph.api.Graph)1 ImporterWizardUI (org.gephi.io.importer.spi.ImporterWizardUI)1 WizardImporter (org.gephi.io.importer.spi.WizardImporter)1 WizardImporterBuilder (org.gephi.io.importer.spi.WizardImporterBuilder)1 NotificationLineSupport (org.openide.NotificationLineSupport)1 NotifyDescriptor (org.openide.NotifyDescriptor)1