Reputation: 93
When I run my .jar, it always shows the program name as "Package.Class" in my OSX dock. Package being the package the class is in, and class being the class.
How would I change that to something else?
I am using Eclipse
Upvotes: 0
Views: 197
Reputation: 7402
You'll have to turn your Java project into a MacOS bundle:
If you add an appropriate icon, it shows the application icon in the Dock, clearly identifying your application. (Otherwise, a default Java coffee cup icon appears in the Dock.)
But for that you probably have to leave Eclipse/post-process your JAR.
Upvotes: 1