This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In new planned wizard framework, could it be possible to support last Summary panel to solve following use case? Use case: 1. User works through the web module wizard. 2. At any point, they may click the Finish button. 3. The wizard window *should not close*, but should display the Summary page which describes what has been generated for them. This last panel have to not display "Finish" or "Back" buttons, only Close 4. Clicking the "Close" button on the summary panel will close the Wizard window. Jeff Hoffman wrote: > the Summary panel should be displayed after the Finish button has been clicked. According to the Java Look and Feel Design Guidelines: Advanced Topics (see http://java.sun.com/products/jlf/at/book/Wizards5.html#51644), the Summary page should appear in the Wizard window with only the Close button.
I suggest the following solution: Create a new interface WizardDescriptor.SummaryPanel: /** A special interface for panels which are the * last panel in the sequence and want to have the * Close button instead of Previous/Next/Finish * The panel which precedes this panel must implement * the FinishBeforeSummaryPanel interface (see below) */ public interface SummaryPanel extends Panel { } Also create a new interface FinishBeforeSummaryPanel: /* A panel which is the last before the Summary panel. * The successor panel (if there is one) must implement * SummaryPanel. */ public interface SummaryPanel extends FinishPanel { } The wizard infrastructure behavior will change as follows: - a panel which implements FinishBeforeSummaryPanel will have the Finish button enabled, and the Next button disabled. - a panel which implements SummaryPanel will have only the Close button (and no other buttons).
*** Issue 54909 has been marked as a duplicate of this issue. ***
*** This issue has been marked as a duplicate of 54908 ***