简体   繁体   English

如何在Oracle AppBundler for OSX中设置“关于”菜单标题?

[英]How do you set About menu title in Oracle AppBundler for OSX?

I am using Oracle AppBundler to allow me package JRE inside an OSX *.app. 我正在使用Oracle AppBundler允许我将JRE打包在OSX * .app中。 But I can't seems to set its About menu to my liking, as shown below. 但是我似乎无法按照自己的喜好设置“关于”菜单,如下所示。

无法设置关于菜单

The about menu still display the main class name. 关于菜单仍然显示主类名称。 This is part of my build.xml . 这是我的build.xml一部分。 Any idea of what might cause this? 任何可能导致这种情况的想法?

 <target name="bundle">
    <bundleapp outputdirectory="dist"
        name="My Name is emaN"
        displayname="My Name is emaN"
        identifier="My Name is emaN"
        mainclassname="test.java.TestJava"
        icon="auxes/icon.icns">
        <runtime dir="${env.JAVA_HOME}" />
        <classpath file="lib/test-java.jar"/>
        <option value="-Dapple.laf.useScreenMenuBar=true"/>
        <option value="-Dcom.apple.macos.useScreenMenuBar=true"/>
        <option value="-Dcom.apple.mrj.application.apple.menu.about.name=My Name is emaN"/>
    </bundleapp>
</target>

Finally, found it here . 最后,在这里找到它。 Just supply -Xdock:name=Your Liking into AppBundler JVM Options. 只需提供-Xdock:name=Your Liking AppBundler JVM选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何为多个屏幕尺寸设置操作栏和标题窗口的文本尺寸? - How do you set the action bar and title window text size for multiple screen sizes? MacOSX AppBundler无法设置图标? - MacOSX AppBundler Can't set Icon? 如何告诉IntelliJ关于在OSX上安装brew的groovy - How do I tell IntelliJ about groovy installed with brew on OSX 如何使用JSTL为paramID的特定ID页面设置页面标题 - How do you set page title for the specific ID pages of a paramID using JSTL JavaFX:OSX的“应用程序菜单”中缺少“关于”菜单项 - JavaFX : 'About' MenuItem is missing from the 'Application Menu' in OSX 如何在不直接使用System.setProperty()的情况下在Oracle 10g JVM中设置系统属性? - How do you set a System property in the Oracle 10g JVM without using System.setProperty() directly? 你如何使用 do while 和 switch 回到上一个菜单? - How do you go back to the previous menu with do while and switch? 您如何仅向使用 Bukkit 的 select 玩家显示标题? - How do you show a title to only select players using Bukkit? 您如何继续学习企业Java应用服务器? - How do you go on about learning enterprise Java application servers? 你如何在JPanel中围绕一个点旋转一个圆? - How do you rotate a circle about a point in JPanel?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM