1 JAVAFX SAMPLES README 2 3 Contents: 4 5 What's in the samples zip file? 6 What do I need to set up my environment? 7 How do I run the prebuilt samples? 8 How do I run the sample projects in NetBeans IDE? 9 What are the other ways I can package the samples? 10 Sample Descriptions 11 12 13 =============================== 14 What's in the samples zip file? 15 =============================== 16 17 The samples zip file contains prebuilt samples that you can run, plus NetBeans 18 project files for each sample. 19 20 Extracting the zip file produces the following directory structure: 21 22 --src (Contains a NetBeans project for each sample) 23 --<Sample1> 24 --nbproject 25 --src 26 --build.xml 27 --manifest.mf 28 --<Sample2> 29 ... 30 <sample1>.jar (Runs the sample as a standalone application) 31 <sample2>.jar 32 ... 33 34 35 ======================================== 36 What do I need to set up my environment? 37 ======================================== 38 39 To run the samples, you need the following environment: 40 41 - A supported version** of the Java Development Kit (JDK) or Java Runtime 42 Environment (JRE). The JDK includes the JRE. 43 44 45 To open the samples projects in NetBeans IDE, you need the following 46 environment: 47 48 - A supported version** of the JDK. 49 - A supported version** of NetBeans IDE. 50 51 **To find information about the supported versions of operating system and browser 52 for a particular Java release, see 53 http://www.oracle.com/technetwork/java/javase/downloads/index.html 54 55 56 ================================== 57 How do I run the prebuilt samples? 58 ================================== 59 60 To run as a standalone application, double-click the JAR file. 61 62 63 ================================================= 64 How do I run the sample projects in NetBeans IDE? 65 ================================================= 66 67 The following procedure assumes you have already extracted the samples zip 68 file. 69 70 To run the sample projects: 71 72 1. In NetBeans IDE, click Open Project in the toolbar, or on the File menu, 73 select Open Project. 74 2. Navigate to the location in which you unzipped the samples, and in the src 75 directory, select a project, then click Open. 76 3. To run the application in NetBeans IDE, in the Project pane, right-click 77 the project and choose Run. 78 79 80 ================================================== 81 What are the other ways I can package the samples? 82 ================================================== 83 84 You can also package any of the samples as an applet, JNLP, or native bundle 85 that includes an installer and a copy of the JRE for execution in an environment 86 that does not have JavaFX installed. See https://docs.oracle.com/javafx for 87 additional information about deploying JavaFX application. 88 89 90 =================== 91 Sample Descriptions 92 =================== 93 94 The following samples are included in the zip file. 95 96 --------- 97 Ensemble8 98 99 A gallery of sample applications that demonstrate a large variety of JavaFX 100 features, including animation, charts, and controls. For each sample, you 101 can do the following on ALL platforms: 102 - View and interact with the running sample. 103 - Read its description. 104 You can do the following for each sample on desktop platforms only: 105 - Copy its source code. 106 - For several samples, you can adjust the properties of the sample components. 107 - If you are connected to the internet, you can also follow links to the 108 relevant API documentation. 109 110 Ensemble8 also runs with JavaFX for ARM. 111 112 ------------- 113 MandelbrotSet 114 115 A sample application that demonstrates advantages of parallel execution done 116 using Java Parallel API. The application renders an image using Mandelbrot set 117 algorithm and provides intuitive navigation within the range of input parameters. 118 More information is available in index.html file inside the MandelbrotSet folder. 119 120 ------ 121 Modena 122 123 A sample application that demonstrates the look and feel of UI components using 124 the Modena theme. It gives you the option to contrast Modena and Caspian themes, 125 and explore various aspects of these themes. 126 127 128 ------------ 129 3DViewer 130 131 3DViewer is a sample application that allows the user to navigate and examine a 132 3D scene with a mouse or a trackpad. 3DViewer has importers for a subset of the 133 features in OBJ and Maya files. The ability to import animation is also 134 provided for Maya files. (Note that in the case of Maya files, construction 135 history should be deleted on all the objects when saving as a Maya file.) 136 3DViewer also has the ability to export the contents of the scene as Java or 137 FXML files. 138 139 140 -------------------------------------------------------------------- 141 Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.