如何创建javafx应用程序

问题描述:





我安装了jdk7。但现在我想用javafx创建一个音乐播放器。当我尝试在netbeans IDE中创建javafx应用程序时,它显示以下错误



请创建一个非默认的Java SE平台,然后转到JavaFX选项卡,启用JavaFX并填写路径JavaFX的SDK和JavaFX RT。



如果我安装javaFX SDk有什么问题吗?我在netbeans IDE中有很多项目。我想为netbeans IDE中的现有项目创建Javafx应用程序



如何继续。请指导我。







先谢谢

Hi,

i have installed jdk7. but now i want create a music player using javafx. When i try to create javafx application in netbeans IDE it shows the follwing error

Please create a non-default Java SE platform, then go to the JavaFX tab, enable JavaFX and fill in the paths to JavaFX SDK and JavaFX RT.

If i install javaFX SDk is there any problem?. I have many projects in netbeans IDE. i want to create Javafx application for existing project in netbeans IDE

how to proceed. Please guide me.



Thanks in Advance

首先关注此设置指南..

https: //netbeans.org/kb/docs/java/javafx-setup.html [ ^ ]

以及一些有用的链接,可以为您构建带有javafx的应用程序..

http://www.oracle.com/technetwork/articles/java/zonski-1508195.html [ ^ ]

http://www.ibm.com/developerworks/library/wa-javafxapp/ [ ^ ]

http://jfx.wikia.com/wiki/Step_by_Step:_How_to_build_your_first_JavaFX_application [ ^ ]

http://java.about.com/od/creatinguserinterfaces /ss/Example-Javafx-Code-For-Building-A-Simple-Gui-Application.htm [ ^ ]
Follow this setting up guide first..
https://netbeans.org/kb/docs/java/javafx-setup.html[^]
And some helpful link to build apps with javafx for you..
http://www.oracle.com/technetwork/articles/java/zonski-1508195.html[^]
http://www.ibm.com/developerworks/library/wa-javafxapp/[^]
http://jfx.wikia.com/wiki/Step_by_Step:_How_to_build_your_first_JavaFX_application[^]
http://java.about.com/od/creatinguserinterfaces/ss/Example-Javafx-Code-For-Building-A-Simple-Gui-Application.htm[^]