Hello, Today just before some hours ago new JAVAFX 1.3 has been released and I ‘m very interested about this release. Many programmers are worried “WHY TO DOWNLOAD NEW VERSION OF NETBEANS 6.9 beta for JAVAFX 1.3 “.
So let’s why not make the Netbeans 6.8 compatible with JAVAFX 1.3.
Requirement:
- JAVAFX 1.3 SDK (download here)
- Netbeans 6.5 or higher
First of all make one sample JAVAFX Project from Netbeans.
(Here i used NetBeans 6.8 for making project)
And then just Right click on project > Properties. As shown in figure.
After then you must see dialog box and select Libraries > Manage Platform
Then click on the Add Platform button. You’ll see a wizard for adding the JavaFX Platform as in figure.
Go to the next (selecting JAVAFX Platform) and give the Platform Name (i used JAVAFX SDK 1.3)
Specify the C:\Program Files\JavaFX\javafx-sdk1.3(only for Microsoft users therwise specify the installation directory for Linux and Mac users) directory for JavaFX SDK Folder.
Then click on Finish and restart your Netbeans Program.
After restarting click on your main project.
For testing your JAVAFX 1.3 enabled. You can code these stuffs:
1 2 3 4 5 6 7 8 |
import javafx.runtime.*; if (Platform.isSupported(ConditionalFeature.EFFECT)) { println("Yeah it supports new feature of JAVAFX 1.3"); } else{ println("Ahh! No it's doesn't support JAVAFX 1.3 new feature"); } |
then run the project by pressing Ctrl+F6.
It must print like this
Output:
==================================
Yeah it supports new feature of JAVAFX 1.3
==================================
Thanks for watching this blog. If any problem had occured then plz comment.
Hey, I can’t view your site properly within Opera, I actually hope you look into fixing this.
But it’s fine for me….at Opera too..May be there is problem on your opera browser
I ‘ve tested on Opera 9 win xp