Thank you for the additional information.
The screenshot of yEd's tool bar indicates that yEd's/Java's HDPI support works as intended. If HDPI support was not active, the text for the menu names would not look good. yEd uses raster image icons; raster images cannot be scaled without loss of quality.