sdedic commented on a change in pull request #3414:
URL: https://github.com/apache/netbeans/pull/3414#discussion_r780840866
##########
File path: platform/openide.util.ui/src/org/openide/util/ImageUtilities.java
##########
@@ -1112,6 +1201,7 @@ public ToolTipImage(Icon delegateIcon, String
toolTipText, URL url, int imageTyp
this.delegateIcon = delegateIcon;
this.toolTipText = toolTipText;
this.url = url;
+ this.imageId = null;
Review comment:
The other constructor is called from `assignToolTipToImageInternal` that
reads `imageID` property from the image. That one is called from the
`image2Icon`, which is used by `mergeImages`.In addition
```
icon2Image(image2Icon(image_with_imageId))
```
ought to provide an image that still returns `imageID` property. So I think
yes, TooltipImage should remember it.
--
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