<!-- <questionid="arch-what"> Whatisthisprojectgoodfor? <hint> Pleaseprovideherefewlinesdescribingthetheproject, whatproblemitshouldsolve,providelinkstodocumentation, specifications,etc. </hint> </question>
-->
<answer id="arch-what">
The
<api name="DialogsAPI" category="official"type="export"url="@org-openide-dialogs@/org/openide/package-summary.html#package-description" group="java" />
allows creating a user notification, a dialog's description
and also permits it to be displayed. The wizard framework allows create a sequence
of panels which leads a user through the steps to complete any task.
This API is part of package <code>org.openide</code>.
</answer>
<answer id="arch-usecases">
There is a <a href="@org-openide-dialogs@/org/openide/doc-files/wizard-guidebook.html">Wizard Guide Book</a>
providing the introductionary information, moreover here is a list
of frequently asked questions and their answers:
<usecase id="dialogs-title-of-wizard" name="How to change the title of a wizard?">
<em>
<b>Q:</b> Although none of my panels have names set (using setName() method) and the method name() in the WizardDescriptor.Iterator
returns an empty string, I'm getting "wizard ( )" as the title of each panel in my wizard.
When I set the name of the panel and return a string from the method name() I get: "panelName wizard (myName)".
The wizard steps are labeled correctly, it just the panel title/name that looks like it adds "wizard ()" to
any of my panels. I don't mind the "( )", but I would like to rid of the word "wizard".
</em>
<p>
<b>A:</b> You can change the format of your wizard's title by
<a href="@TOP@org/openide/WizardDescriptor.html#setTitleFormat(java.text.MessageFormat)">WizardDescriptor.setTitleFormat(MessageFormat format)</a>
and rid of 'wizard' word in the default wizard's title.
</p>
</usecase>
<!-- <questionid="deploy-jar"> DoyoudeployjustmoduleJARfile(s)orotherfilesaswell? <hint> IfyourmoduleconsistjustfromonemoduleJARfile,justconfirmthat. IfitusesmorethanoneJAR,describewheretherearelocated,how theyrefertoeachother. IfitconsistofmoduleJAR(s)andotherfiles,pleasedescribe whatistheirpurpose,whyotherfilesarenecessary.Please makesurethatinstallation/deinstallationleavesthesystem instateasitwasbeforeinstallation. </hint> </question>
-->
<answer id="deploy-jar">
The API portion is inside <samp>openide.jar</samp>
</answer>
<!-- <questionid="deploy-nbm"> CanyoudeployanNBMviatheUpdateCenter? <hint> Ifnotwhy? </hint> </question>
-->
<answer id="deploy-nbm">
Yes (as part of <samp>openide.nbm</samp>).
</answer>
<!-- <questionid="deploy-packages"> Arepackagesofyourmodulemadeinaccessiblebynotdeclaringthem public? <hint> NetBeansmodulesystemallowsrestrictionofaccessrightsto publicclassesofyourmodulefromothermodules.Thisprevents unwanteddependenciesofothersonyourcodeandshouldbeused wheneverpossible(<ahref="http://www.netbeans.org/download/apis/org/openide/doc-files/upgrade.html#3.4-public-packages"> publicpackages </a>). </hint> </question>
-->
<answer id="deploy-packages">
Dialogs and wizards API is a public package. <code>DialogDisplayer</code>, acting as a singleton, has only
<code>protected</code> constructor. A instance is accessible by factory <code>DialogDisplayer.getDefault()</code>.
</answer>
<!-- <questionid="deploy-shared"> Doyouneedtobeinstalledinthesharedlocationonly,orintheuserdirectoryonly, orcanyourmodulebeinstalledanywhere? <hint> Installationlocationshallnotmatter,ifitdoesexplainwhy. Consideralsowhether<code>InstalledFileLocator</code>canhelp. </hint> </question>
-->
<answer id="deploy-shared">
<code>openide.jar</code> needs to be in the system directory.
</answer>
<!-- <questionid="perf-exit"> Doesyourmodulerunanycodeonexit? </question>
-->
<answer id="perf-exit">
No
</answer>
<!-- <questionid="perf-huge_dialogs"> Doesyourmodulecontainanydialogsorwizardswithalargenumberof GUIcontrolssuchascomboboxes,lists,trees,ortextareas? </question>
-->
<answer id="perf-huge_dialogs">
Yes, this API provides the dialogs and wizards. The size and GUI controls are driven by
a caller.
</answer>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.