简体   繁体   English

在Windows上通过Java Web Start使分辨率更高的桌面图标

[英]Make better resolution desktop icon via java web start on windows

I have set it up so that running my java web start application creates a desktop icon. 我进行了设置,以便运行Java Web Start应用程序创建一个桌面图标。 On Linux this icon is beautiful, just as I designed it including transparency. 在Linux上,该图标很漂亮,就像我设计的包括透明性一样。 On Windows however ( tested on 7 and 8 ), the image is down-scaled, blocky and without transparency. 但是,在Windows上(在7和8上测试),图像按比例缩小,块状且没有透明度。

Is there a way to increase the resolution of the icon made via java webstart? 有没有办法提高通过java webstart制作的图标的分辨率?

Java webstart has this problem that lowers the resolution of your icon if the dimension of your icon is missing in the jnlp file. 如果jnlp文件中缺少图标尺寸,则Java Webstart会出现此问题,从而降低了图标的分辨率。 Make sure you specify the actual width and height of your image like this: 确保像这样指定图像的实际宽度和高度:

<icon href="icon.png" width="64" height="64"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM