如何在Mac上更改JAR图标

如何在Mac上更改JAR图标

本文介绍了如何在Mac上更改JAR图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我的mac上有一个名为Test.jar的JAR文件,当我点击它时文件工作得很好。所有它只是打开一个小窗口,并显示测试,所以它是一个简单的应用程序(我是Java编程的新手)。

I have a JAR file on my mac called Test.jar, and the file works perfectly fine when I click on it. All it does is it just opens a small window, and displays "Test", so it's a simple application (I am new to Java programming).

我的问题是如何将jar文件的图标更改为我选择的其他图标?我还没有自己解决这个问题,我不知道该怎么办。就像我已经说过的那样,我使用的是Mac,因此MS Windows方法可能与我必须做的不同。

My question is how do I change the icon of the jar file to a different icon of my choice? I have yet to figure this out on my own, and I don't know what to do. Like I have already stated, I am using a mac, so MS Windows methods are probably different from what I have to do.

推荐答案

如链接的答案所示,这是特定于平台的。但是,OSX允许您轻松地将Java应用程序打包为本机OSX应用程序。请参阅

As the linked answer indicates, this is platform specific. OSX does allow you to easily package the java application as a native OSX app, though. See http://www.oracle.com/technetwork/articles/javase/javatomac3-137430.html

这篇关于如何在Mac上更改JAR图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 02:05