Dafe told me that he was told that correct order
of calls on WizardDescriptor.Panel is:
Based on this information he wrote and provided
example on how to write correctly the wizard
document and linked example
If the order is not as stated the NPE is thrown
from readSettings() method because panelUI was not
And this is what I experience. See attached
exception for more details. Relevant excerpts are:
1.) when property change listener is attached to
WD the WD.updateState is called which in turn
calls readSettings before getComponent:
Just attaching listener should not initialize the
whole wizard panel.
2.) when next button is pressed on WD the
WD.updateState is called and result is the same:
Please either fix this bug or tell us that the
order is not guaranteed. In both cases please
clarify the order in JavaDoc.
Created attachment 8612 [details]
Order of calls won't be specified now. This requirement was added in
issue 26552 (e.g. the central point for designing new Wizard API).
Dafe will repair the example to won't give a wrong guide. I close as