Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 229765 - WizardDescriptor: Custom button text per instance
WizardDescriptor: Custom button text per instance
Status: NEW
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards
7.4
All All
: P3 with 2 votes (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-15 10:03 UTC by mscholl
Modified: 2013-05-15 19:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
pragmatic patch (2.33 KB, patch)
2013-05-15 10:08 UTC, mscholl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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