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 271128

Summary: Change default Property Set name button in Properties window toolbar
Product: platform Reporter: pagewidth
Component: ExplorerAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description pagewidth 2017-07-19 19:56:00 UTC
Property sets displayed in the Properties windows have the option to have a button created with the name of a property set in order to create groups of property sets and have an easy way to switch between them.  e.g.

Sheet.Set set2 = Sheet.createPropertiesSet();
set2.setValue("tabName", "Other Tab");

The above will actually create two buttons in the toolbar at the top of the Properties window. The first button is the default and is named "Properties" and the second button will be "Other Tab".

It is currently not possible to have a different name than the default Property set named "Properties" or the global name via the LBL_BasicTab in the Bundles file for each Properties window opened.

Either way, all Properties windows opened will always have the default name "Properties" or the global LBL_BasicTab name as the first button in the toolbar whenever multiple property sets are created.

Depending on what information is presented in the Properties window by a Netbeans Platform application, the button name "Properties" or the global name defined in LBL_BasicTab may not make sense and can be out of context with the information displayed in the Properties window.

I'm requesting an option to change the default button name when creating Property sets, or possibly, if no Properties are created under the default name, the default button name property set is not displayed in the toolbar because it is considered empty.

Making the change will allow multiple Properties windows to be open at the same time and each can have a different button name as the first button in the Properties window toolbar.

It is possible to change the Properties window name so that it does not represent "Properties", but a name more in line with how the Netbeans Platform application is using the information in the window.