java:将图标放在.jar文件中,以便Windows资源管理器可以识别它们? [英] java: putting icons in .jar files so that Windows Explorer can recognize them?
问题描述
Windows知道在.exe或.dll文件中查找图标的位置。有没有办法在.jar文件中设置图标资源,以便Windows可以识别它们? (我对XP或Windows 7的答案感兴趣)
Windows knows where to find icons in .exe or .dll files. Is there any way to set up icon resources in a .jar file so that Windows can recognize them? (I'm interested in answers for XP or Windows 7)
推荐答案
Java Web Start 可以安装用于桌面快捷方式和菜单项的图像。 JWS还支持在应用程序加载(和/或更新新类)时可以显示的启动画面。对图标的支持适用于任何可用Java的桌面PC平台(需要注意的是:如果操作系统支持该功能)。
Java Web Start can install images to use for a desktop shortcut and menu item. JWS also supports a splash screen that can be shown while the application is loading (and/or updating new classes). The support for icons applies to any desktop PC platform for which Java is available (caveat: If the OS supports that functionality).
这篇关于java:将图标放在.jar文件中,以便Windows资源管理器可以识别它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!