JavaFX自包含应用程序 - 首选项API无法正常工作

时间:2013-05-20 16:59:28

标签: java netbeans javafx-2

我已经创建了一个JavaFX应用程序并将其部署为一个独立的应用程序。问题是,它无法编写任何文件而无法使用Preferences API。

NetBeans通过以下方式生成自我组合:

<target name="-post-jfx-deploy">
    <fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
               nativeBundles="all"
               outdir="${basedir}/${dist.dir}" outfile="${application.title}">
        <fx:application name="${application.title}"
                        mainClass="${javafx.main.class}"/>
        <fx:resources>
            <fx:fileset dir="${basedir}/${dist.dir}" includes="*.jar"/>
        </fx:resources>
        <fx:info title="${application.title}" vendor="${application.vendor}"/>
    </fx:deploy>
</target>

我已经读过,有必要签署我的申请,以使其有效。

我怎样才能让它发挥作用?

0 个答案:

没有答案
相关问题