Bug 229765

Summary: WizardDescriptor: Custom button text per instance
Product: platform Reporter: mscholl
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: markiewb
Version: 7.4   
Target Milestone: TBD   
Hardware: All   
OS: All   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:
Attachments: pragmatic patch

Description mscholl 2013-05-15 10:03:27 UTC
Recently we had the need to customize the button text of the default buttons of a wizard (Finish, Cancel, etc.) because e.g. "Create" was more appropriate than "Finish" for a certain action.
I know that there is the possibility to customize these buttons using "branding" as described by Geertjan here

https://platform.netbeans.org/tutorials/nbm-wizard.html#brand

However, doing the customization this way every "Finish" button of every WizardDescriptor instance would be a "Create" button (following the above example) which is at least not appropriate for our use case. Thus it would be nice if the WizardDescriptor provided the feature to somehow alter the default button texts.
Comment 1 mscholl 2013-05-15 10:06:19 UTC
NetBeans forum entry with current workaround:

http://forums.netbeans.org/viewtopic.php?t=55192
Comment 2 mscholl 2013-05-15 10:08:25 UTC
Created attachment 134456 [details]
pragmatic patch

added pragmatic patch for the requested feature.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo