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.

Bug 229765

Summary: WizardDescriptor: Custom button text per instance
Product: platform Reporter: mscholl
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
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.