Original address http://download.oracle.com/javafx/2.0/release_notes_mac/jfxpub-release_notes_mac.htm
The javafx 2.0 Platform Preview includes the javafx SDK, which provides tools and technologies for application development.
This release provides Java APIs for javafx, which provides open functions for Java developers and enables a large number of Java development tools to be used to develop javafx applications. In addition, this release also provides:
- The high-performance image engine provides advanced support for making simple, smooth, and fast rich images.
- Media engine, supporting network-based multimedia content backend operations.
- Network component: HTML can be bound to javafx applications.
- The Extension Set of the UI control, such as charts, tables, menus, and panes.
- Fxml (XML-based Markup Language), which can define user interfaces.
- The sample program quickly demonstrates the features of this technology.
Note: Currently, the javafx application can only run on the Mac system desktop. |
System Requirements
Javafx 2.0 Developer Preview in Mac OS requires the following software:
- Operating System-Mac OS X 10.6 or higher
- JDK-JDK 6 U 26 or higher
Install
The javafx file in Mac is a zip file.
Installation Method:
- Download the javafx sdk zip file from the http://www.oracle.com/technetwork/java/javafx/downloads/javafx2-macosx-487281.html.
- Extract the SDK file from the ZIP file to the local directory.
Example
The javafx sample program downloads the ZIP file in the http://www.oracle.com/technetwork/java/javafx/downloads/javafx2-macosx-487281.html. and decompress it to the directory containing the SDK, the directory structure is similar to this:
Javafx-sdk2.0 \
Bin \
Docs \
Javafx-samples-2.0 \
RT \
.
.
To run the application on the desktop, double-click the. jar file.
The source code for each sample is under the javafx-samples-2.0 \ src directory. To view the source code, go to the javafx-samples-2.0 \ SRC \ sample directory where you are interested in the application. The source code of each sample is a Nb project. Follow setting up netbeans ide with javafx 2.0 to create an application in Nb.
Known bugs and issues
The following problems are found. For more information about the subsequent figures, see the Report in javafx issues dashboard.
- In the dock and menu bar, the application name can only be "Java" and cannot be changed. The names in "about" and "exit" are "Glass" and cannot be changed. [RT-12113, RT-13010]
- When the window is displayed for the first time, a black screen is displayed because of uncoordinated visual flashes. RT-16804
- No user feedback is provided for the drag operation. [RT-16307, RT-14624]
Workspace: receives a cursor and displays an image in a floating window to reflect the drag operation.
- Possible exceptions when exiting [RT-14118, RT-15599]
Hanging or broken during application addition in the workspace is unlikely. |
- It is known that there is a blending when rendering. RT-12852
- 3D rendering is not supported. [RT-13234, RT-13230]
- Poor Support for Mac OS gradient. [RT-10565]
- Error dialog box. [RT-13739] not displayed to user
- Caps Lock is invalid in textfield and textarea. [RT-16616]
- You cannot cut, copy, or paste. [RT-16475] In textfield