Netbeans6.0 beta1 has been released for a while, and netbeans is getting better and better now. With the release of the new version, we should also familiarize ourselves with this good product. Since javafx was released by 2007 javaone sun, always receiving popularity. Today, let's take a look at the installation of the netbeans6.0 javafx plug-in.
Step 1: Download The netbeans6.0 beta1 http://dlc.sun.com/netbeans/download/6_0/beta1/ (of course I think your machine has installed the latest JDK)
Step 2: After installing netbeans, Click Tools-plugins. In the displayed page, select the available plugins tab and check the Java FX plug-in,
Click the Install button. The next step is only after the installation is complete. OK. Congratulations, your netbeans javafx plug-in has been installed successfully.
Step 3: restart the netbeansshijavafx plug-in to take effect. Next, let's take a look at this plug-in. We will create a new javafx project, which will automatically generate the corresponding one based on our settings. FX file, using our most classic Hello World Program, Roughly as follows:
Import javafx. UI. label;
Label {
Text: "Hello, world! "
}
Right-click the project and the project will be displayed after the project is run.
So far, we have installed and experienced the netbeans javafx plug-in.