Sun Java Solaris Communities My SDN Account Join SDN

Article

JavaFX 1.1 Production Suite Release Notes

 
February 2009  
JavaFX 1.1 Production Suite is a set of tools that enables designers and developers to work independently on graphics and application logic to develop expressive content. This document provides information about enhancements, known issues, and limitations.
 
Contents
 
What's New
System Requirements
Differences Between JDK 5 and JDK 6
Known Issues and Limitations
More Information
 
What's New

JavaFX 1.1 Production Suite is an update to JavaFX 1.0 Production Suite and adds the following support for exporting assets for use with JavaFX Mobile applications.

  • The libraries and Javadoc tools for Production Suite are included with the JavaFX 1.1 SDK. In the API documentation, look for javafx.fxd in the sidebar to see the classes specifically used with JavaFX graphics.

  • All classes in the javafx.fxd package now work with common profile. This means FXD/FXZ content can be now loaded and manipulated on both desktop and mobile platforms.

  • The following tools enable previewing JavaFX graphics as they appear in either desktop or mobile applications:

    • Preview window in the JavaFX Plugin for Adobe Illustrator
    • Preview window in the JavaFX Plugin for Adobe Photoshop
    • JavaFX Graphics Viewer
    • The JavaFX graphics viewer in the NetBeans IDE
System Requirements

The system requirements for the JavaFX 1.1 Production Suite, including the recommended version of the JDK, are available in the JavaFX System Requirements document. If you do not plan to use the JavaFX Graphics Viewer, you can use the default Java 5 for Mac OS X.

To create graphics and save them in JavaFX file format, you must have one of the following applications installed:

  • Adobe Illustrator CS3
  • Adobe Photoshop CS3
  • A tool that produces SVG graphics

To run the samples included in Production Suite, install NetBeans IDE 6.5 for JavaFX 1.1.

Differences Between JDK 5 and JDK 6

On both the Windows and Mac platforms, font tracking is not supported on JDK 5.

Known Issues and Limitations

Production Suite Installer

  • Issue RT-3265: Mac installer screen does not work properly when hidden files are displayed in Finder.

    Description: When installing Production Suite, if hidden files are set to display on a Mac, the box icon representing the installation package does not display properly.

    Workaround: Turn off the display of hidden files in the finder by typing the following two commands in the Terminal window:
    defaults write com.apple.finder AppleShowAllFiles -bool false
    killall Finder

JavaFX Plugin for Adobe Illustrator or Adobe Photoshop

  • Issue RT-3350: Negative Y coordinates in Adobe Photoshop get cropped in the exported layers.

    Description: The export process from Adobe Photoshop crops any parts of layers that lie above the canvas. Layers that lie to the left, right, or below the canvas are exported.

    Workaround: When exporting layers from Photoshop, ensure that no parts of layers lie above the canvas unless you want them to be cropped.

  • Issue RT-1906: Some fonts are not embedded when the embedded fonts feature is selected in Adobe Illustrator.

    Description: When exporting graphics from Adobe Illustrator, even if you select the option to embed fonts, system fonts are not embedded, because they should be available on all systems. System fonts are Arial (including Arial Black), and Times New Roman.

    Solution: If you want to ensure that all fonts are embedded for desktop application, use fonts other than system fonts.
    Note:
    For JavaFX applications that are deployed to mobile applications, all text in the graphic uses a font that is embedded in the mobile SDK, so embedding fonts only affects desktop applications.

  • Issue RT-1905: Text might not be exported correctly from Adobe Illustrator.

    Description: This issue can manifest itself in various ways, especially when text is positioned on the path, or when extra vertical spacing is inserted in paragraphs.

    Workaround: None.

  • Issue RT-1765: With Adobe Illustrator on Mac OS systems, the user interface might not accept mouse input after you cancel the Preview dialog box (Mac OS only).

    Description: When a document is exported from Adobe Illustrator on the Mac OS platform, and the Preview dialog box is canceled, the Adobe Illustrator document does not accept any further mouse input.

    Workaround: Mouse input can be restored after the Cancel operation if you click in another window of Adobe Illustrator (such as the Layers window) and then click back in the document.

  • Issue RT-474: Export of some Stroke attributes from Adobe illustrator is not supported.

    Description: Although export of Stroke is supported, the following Stroke attributes are not supported: strokeLineCap, strokeLineJoin and strokeMiterLimit.

    Workaround: None.

  • Issue RT-2298: Neighboring shapes might not fit seamlessly in graphics exported from Adobe Illustrator.

    Description: Shapes with different colors occasionally do not align perfectly in the exported JavaFX graphic, and a thin separation line appears with the background visible.

    Workaround: None.

  • Issue RT-2387: Adobe Photoshop export limitations

    Description: Note the following limitations on export from Adobe Photoshop:

    • Layers that do not contain pixels, such as adjustment layers, are ignored.
    • Fill layers are ignored.
    • The Gradient Overlay effect is ignored.
    • The following blending effects might look different in the JavaFX graphic when images have opacity set at less than 100% : Darken, Color Dodge, Color Burn, Hard Light, Soft Light, Difference, Exclusion, Linear Dodge.

    Workaround: None. To find out which features are supported for conversion from Adobe Photoshop to JavaFX, see the online help topic "Supported Features for Conversion From Adobe Photoshop to JavaFX." The online help can be opened by navigating to the /Help folder in the JavaFX Production Suite installation and opening the file index.html in a browser.
  • Issue: JavaFX graphics (with an FXZ or FXD extension) cannot be imported into Adobe Photoshop.

    Description: JavaFX graphics that are exported from Adobe Illustrator or Adobe Photoshop cannot be imported back into Adobe Illustrator or Adobe Photoshop.

    Workaround:
    To view JavaFX graphics, use the JavaFX Graphics Viewer, included in the Production Suite installation, or use the NetBeans IDE to preview the graphic or view the code. See Getting Started With JavaFX 1.1 Production Suite or the Production Suite online help for instructions on how to use the JavaFX Graphics Viewer.

  • Issue RT-1916: Some features on the Export Options screen apply only to the graphics preview, not to the saved file.

    Description: When exporting graphics from Adobe Illustrator or Adobe Photoshop, the following features apply only to the preview, not to the exported file: Fit on Screen, Magnification, desktop or mobile preview. Selecting the Fit on Screen checkbox in the JavaFX Export Options dialog box sizes the graphic to fit in the Preview pane. It has no effect on the size of the graphic that is exported.

    Workaround: To change the size of the exported image, resize the image using the Adobe Illustrator or Adobe Photoshop menu.
    For more information about the Export Options dialog box see the online help topics "Save and Preview Options for JavaFX Graphics in Adobe Illustrator" or "Save and Preview Options for JavaFX Graphics in Adobe Photoshop."

  • Issue RT-825: Styles are not supported for Adobe Photoshop export.

    Description: When you export files from Adobe Photoshop, styles are not recognized.

    Workaround: None.

  • Issue RT-2133: On a Windows system, export to a locked FXZ file fails with no warning message.

    Description: Exporting from Adobe Illustrator or Photoshop on a Windows system fails when saved to an existing FXZ file name, and the file is locked. The FXZ file might be locked because it is open in the NetBeans IDE. The file remains unchanged, and no warning or error is displayed.

    Workaround: None.

  • Issue RT-3261: Adobe Photoshop on Mac crashes intermittently when you open the Save for JavaFX preview window.

    Description: After opening a graphics file in Photoshop and choosing File > Automate > Save for JavaFX, one user experienced Photoshop intermittently crashing with the error message "The application 'Photoshop' has unexpectedly quit." The problem was not due to Production Suite but due to a Photoshop problem.

    Workaround: Deleting the Photoshop Preferences file solved the problem. For instructions on deleting the Preferences file and other troubleshooting tips, see the Adobe tech note at http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401517&sliceId=2.

SVG Converter

  • Issue RT-2415: The opacity attribute appears twice on the elements in files converted from SVG format.

    Description: Opacity and fill-opacity in SVG are both converted to the opacity attribute in JavaFX Data Files (FXD). This conversion results in two opacity attributes in the FXD source description: the first occurrence has a value set to 1, and the second occurrence has the value set correctly. The graphic is displayed correctly, because the second occurrence overwrites the first.

    Workaround: No workaround is required.
More Information
Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Comments:
Your email address (no reply is possible without an address):
Sun Privacy Policy

Note: We are not able to respond to all submitted comments.