We have JAVA Executable JAR on Window and MAC operating system. Once we run the JAR on MAC, the JAR image is displaying at bottom tool bar. We are managed to change the java coffee image by our app image by below code
if (SystemUtils.IS_OS_MAC) {
URL iconURL = StatCrew.class.getResource("/images/Logo.png");
java.awt.Image image = new ImageIcon(iconURL).getImage();
com.apple.eawt.Application.getApplication().setDockIconImage(image);
}
Once mouse over the icon, it is showing title as 'Java' text. We wants to change it with our application name and we are NOT able to get any way to change it. Can anyone help us to change this 'java' word?