JavaFX更改OSX菜单栏名称 [英] Javafx change osx menubar name

查看:72
本文介绍了JavaFX更改OSX菜单栏名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当程序从java运行到Phantom时,我正在使用Netbeans尝试更改标题.我也想将显示phantom.Main的位置更改为Phantom.我不确定是否要在以下位置执行此操作:Java,Netbeans,Netbeans优先级或ant build.xml文件(甚至其他位置).我也找不到任何文档.任何帮助都会很棒!

I am using Netbeans trying to change the title when the program runs from java to Phantom. I also would like to change where it says phantom.Main to Phantom. I am not sure if I do this in: Java, Netbeans, Netbeans priorities or the ant build.xml file (or even somewhere else). I can not find any documentation on this either. Any help on this would be great!

推荐答案

(Mac OS X)应用程序菜单中的"java"名称仅在从Netbeans中运行应用程序时使用.如果要将该应用程序打包到DMG中,然后运行生成的应用程序,则该应用程序的名称将显示在该位置.

The "java" name in the (Mac OS X) application menu is only used when you run the application from within Netbeans. If you were to package the application into a DMG, and then run the resulting app, the name of the application will appear in that location.

这篇关于JavaFX更改OSX菜单栏名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆