Jfxpub-Release Notes Mac
Jfxpub-Release Notes Mac
Note:
Currently, only desktop JavaFX applications are supported on the Mac
OS platform.
System Requirements
JavaFX 2.0.2 Developer Preview for Mac OS X requires the following software:
Installation
The JavaFX SDK for Mac OS X is available as a zip file.
To install:
If you are using NetBeans IDE, see Setting Up NetBeans IDE with JavaFX 2.0 for instructions on
creating the JavaFX-enabled platform.
Samples
Sample JavaFX applications are available at
http://www.oracle.com/technetwork/java/javafx/downloads/javafx2-macosx-487281.html.
Download the zip file that contains the samples and extract the files to the directory that contains
the SDK. After extracting the files, your directory structure should look as follows, where version
is the current release, for example javafx-sdk2.0.2:
javafx-sdkversion\
bin\
docs\
javafx-samples-version\
rt\
.
.
To run a sample on your desktop, click the .jar file for the sample.
Source code for each sample is in the javafx-samples-version\src directory. To view the source
code, go to the javafx-samples-version\src\sample directory, where sample is the name of the
application in which you are interested. Each of the sample source directories is a NetBeans
project. Follow the steps in Setting Up NetBeans IDE with JavaFX 2.0 to create a JavaFX-enabled
platform in NetBeans IDE.
See the Release Notes for late-breaking news regarding the samples.
Getting Started
To get started with the JavaFX SDK, review the documentation provided at
http://docs.oracle.com/javafx/. Good starting points include:
What is JavaFX? - Introduction to concepts and tools for working with the JavaFX SDK.
Getting Started with JavaFX - Step-by-step tutorial for creating a JavaFX application.
API documentation - Output from the Javadoc tool for JavaFX classes.
Application name shows up as "java" in the Dock and the menu bar, which currently can
not be set to anything else. Application name in "About" and "Quit" shows as "Glass", which
currently can not be set to anything else. [RT-12113, RT-13010]
No visible user feedback is provided during drag-and-drop operations. [RT-16307]
Workaround: Manually set the cursor and use a floating window to show an image
representation of the content being dragged.
Known rendering issues exist with blending. [RT-12852]
3D perspective rendering is not supported on the Mac OS. [RT-13234, RT-13230]
Gradient is not well supported on the Mac OS. [RT-10565]
An attempt to display an error dialog to users on the Mac OS fails. [RT-13739]
Mac MP3 decoder does not play short audio clips. [RT-17533]
Workaround: Convert the MP3 clip to uncompressed (PCM) AIFF or WAV format, which are
the preferred formats for short audio clips. To use MP3, clips must contain more than three
MP3 frames to be playable on Mac OS X.
Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.