itzlewitz opened a new issue, #7909:
URL: https://github.com/apache/netbeans/issues/7909

   ### Apache NetBeans version
   
   Apache NetBeans 23
   
   ### What happened
   
   The OutlineView header popup menu contains double column names.
   Here is my code:
   ```
   
       final List<String> attributes = new ArrayList<>();
       attributes.add(NotificationTypeProperty.NAME);
       attributes.add(NotifyCreationTimeProperty.NAME);
       attributes.add(CauseProperty.NAME);
       Collections.sort(attributes);
       final String[] propertyColumns = new String[attributes.size()*2];
       int i = 0;
       for (String attr : attributes) {
         propertyColumns[i++] = attr; // name
         propertyColumns[i++] = attr; // display name
       }
       outlineView.setPropertyColumns(propertyColumns);
   
   ```
   
   ### Language / Project Type / NetBeans Component
   
   Java / Java Maven Application / NB21
   
   ### How to reproduce
   
   Right click on the header line of a OutlineView table.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu
   
   ### JDK
   
   Java: 21.0.2; OpenJDK 64-Bit Server VM 21.0.2+13-LTS
   
   ### Apache NetBeans packaging
   
   Apache NetBeans platform
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to