Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Wednesday, May 1, 2013

JDK 7 and JavaFX Demos and Samples


-----

How Do I Run a Sample Application?


The steps in this section explain how to download and run the sample applications that are available as a separate download with the Java Platform (JDK 7).

Note:
Before you can run a sample JavaFX application, you need to have the JavaFX runtime libraries on your machine. Before you proceed with these steps, either install the latest version of the JDK 7 or the latest version of the JRE.
To download and run the sample applications:
  1. Scroll down to locate the JDK 7 and JavaFX Demos and Samples section.
  2. Click the Demos and Samples Download button to go to the downloads page.
  3. On the Java SE Development Kit 7 Downloads page, scroll down to the JavaFX Demos and Samples Downloads section.
  4. Download the zip file for the correct operating system and extract the files.
    The javafx-samples-2.2.x directory is created and contains the files for the available samples. The NetBeans projects for the samples are in the javafx-samples-2.2.x\srcdirectory.
  5. Double-click one of the executable files for a sample.
    For example, to run the Ensemble sample application, use any of the following methods:
    • To run Ensemble as a standalone application, double-click the Ensemble.jar file.
    • To run Ensemble in the browser, double-click the Ensemble.html file.
    • To run Ensemble as a Web Start application, either double-click the Ensemble.jnlpfile or double-click the Ensemble.html file. JavaScript code engages the Java Deployment Toolkit to ensure the user environment has the required Java and JavaFX runtimes.

-----
copied from: http://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm

No comments:

Post a Comment